7 lines
186 B
VimL
7 lines
186 B
VimL
|
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()
|