Extract 'utils' config

This commit is contained in:
2023-12-18 13:50:23 +01:00
parent 1b62acfc80
commit 24aeb3ffe3
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()