Extract 'utils' config

master
Hektor Misplon 2023-12-18 13:50:23 +01:00
parent 1b62acfc80
commit 24aeb3ffe3
Signed by: hektor
GPG Key ID: 5151AF79E723F21C
2 changed files with 6 additions and 7 deletions

6
.vim/plugin/utils.vim Normal file
View File

@ -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
View File

@ -376,13 +376,6 @@ highlight QuickScopeSecondary cterm=underline
highlight QuickScopePrimary ctermbg=253 ctermfg=232 cterm=none highlight QuickScopePrimary ctermbg=253 ctermfg=232 cterm=none
highlight Pmenu ctermfg=232 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 " Taken from /usr/share/vim/vim90/defaults.vim
augroup vimStartup augroup vimStartup
au! au!