aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorCamil Staps2016-11-18 10:25:20 +0100
committerCamil Staps2016-11-30 19:11:45 +0100
commit71485dacc58e68d30df314247b022f4b93e13ad6 (patch)
treefc97ea8befbe2d94ef80492cffbfa0b2ef6de1d6 /vim
parentShift-tab to have vim-like completion in the shell (diff)
Vim syntax definition debugging
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc.symlink7
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