Extract 'utils' config
parent
1b62acfc80
commit
24aeb3ffe3
|
@ -0,0 +1,6 @@
|
|||
function! SynGroup()
|
||||
let l:s = synID(line('.'), col('.'), 1)
|
||||
echo synIDattr(l:s, 'name') . ' -> ' . synIDattr(synIDtrans(l:s), 'name')
|
||||
endfun
|
||||
|
||||
com! -nargs=0 Syn :call SynGroup()
|
7
.vimrc
7
.vimrc
|
@ -376,13 +376,6 @@ highlight QuickScopeSecondary cterm=underline
|
|||
highlight QuickScopePrimary ctermbg=253 ctermfg=232 cterm=none
|
||||
highlight Pmenu ctermfg=232
|
||||
|
||||
function! SynGroup()
|
||||
let l:s = synID(line('.'), col('.'), 1)
|
||||
echo synIDattr(l:s, 'name') . ' -> ' . synIDattr(synIDtrans(l:s), 'name')
|
||||
endfun
|
||||
|
||||
com! -nargs=0 Syn :call SynGroup()
|
||||
|
||||
" Taken from /usr/share/vim/vim90/defaults.vim
|
||||
augroup vimStartup
|
||||
au!
|
||||
|
|
Loading…
Reference in New Issue