(nvim) Add custom python highlighting
This commit is contained in:
parent
b8f8b838a3
commit
1af3abe9c7
@ -178,3 +178,12 @@ function! ToggleWrap()
|
||||
endfunction
|
||||
|
||||
nnoremap <leader>w :call ToggleWrap()<CR>
|
||||
|
||||
" Python configuration, Highlight self
|
||||
augroup python
|
||||
autocmd!
|
||||
autocmd FileType python
|
||||
\ syn keyword pythonSelf self
|
||||
\ | highlight def link pythonSelf Special
|
||||
|
||||
augroup end
|
||||
|
Loading…
x
Reference in New Issue
Block a user