diff options
author | Camil Staps | 2016-11-18 10:25:20 +0100 |
---|---|---|
committer | Camil Staps | 2016-11-30 19:11:45 +0100 |
commit | 71485dacc58e68d30df314247b022f4b93e13ad6 (patch) | |
tree | fc97ea8befbe2d94ef80492cffbfa0b2ef6de1d6 /vim | |
parent | Shift-tab to have vim-like completion in the shell (diff) |
Vim syntax definition debugging
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc.symlink | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vim/vimrc.symlink b/vim/vimrc.symlink index 2ffeda7..f862da5 100644 --- a/vim/vimrc.symlink +++ b/vim/vimrc.symlink @@ -118,3 +118,10 @@ command! -range Pv :silent :r !xsel -o -s cabbrev pz Pz cabbrev px Px cabbrev pv Pv + +" For syntax definition debugging +"function! SyntaxItem() +" return synIDattr(synID(line("."),col("."),1),"name") +"endfunction +"set statusline+=%{SyntaxItem()} +"set laststatus=2 |