vim:looks: Formatting

This commit is contained in:
2024-11-06 13:53:25 +01:00
parent 066f30a39f
commit 5af20402b9

View File

@@ -95,10 +95,10 @@ augroup END
"
" Also useful (List all groups):
" :so $VIMRUNTIME/syntax/hitest.vim
nmap <leader>sp :call <SID>SynStack()<CR>
function! <SID>SynStack()
if !exists("*synstack")
return
endif
echo map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")')
if !exists("*synstack")
return
endif
echo map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")')
endfunc
nmap <leader>sp :call <SID>SynStack()<CR>