diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-01 09:11:55 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-01 09:11:55 +1300 |
commit | c01617716dd04c04b6bd7cf34fa0407264d94b7c (patch) | |
tree | 9b4e0c22e8929cb6dc79ee3d952f7fd3acdb69e2 | |
parent | Merge branch 'hotfix/v0.2.1' into develop (diff) | |
parent | Correct variable name in comment (diff) | |
download | dotfiles-c01617716dd04c04b6bd7cf34fa0407264d94b7c.tar.gz dotfiles-c01617716dd04c04b6bd7cf34fa0407264d94b7c.zip |
Merge branch 'feature/vim-syn-lint' into develop
* feature/vim-syn-lint:
Correct variable name in comment
Remove extraneous spacing between words
-rw-r--r-- | vim/after/syntax/html.vim | 2 | ||||
-rw-r--r-- | vim/after/syntax/sh.vim | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/vim/after/syntax/html.vim b/vim/after/syntax/html.vim index 80012114..d476ec2c 100644 --- a/vim/after/syntax/html.vim +++ b/vim/after/syntax/html.vim @@ -1,3 +1,3 @@ " Make HTML highlighting a bit less visually noisy -highlight! link htmlTag Type +highlight! link htmlTag Type highlight! link htmlEndTag htmlTag diff --git a/vim/after/syntax/sh.vim b/vim/after/syntax/sh.vim index 9da1095d..d07f4cff 100644 --- a/vim/after/syntax/sh.vim +++ b/vim/after/syntax/sh.vim @@ -1,8 +1,7 @@ " If g:is_posix is set, g:is_kornshell is probably set too, a strange decision " by sh.vim. No matter; we can tease out whether this is actually a Korn shell -" script using our own b:is_kornshell_proper flag set at the end of -" ~/.vim/ftdetect/sh.vim, and if it isn't, we'll throw away the highlighting -" groups for ksh. +" script using our own b:is_ksh flag set at the end of ~/.vim/ftdetect/sh.vim, +" and if it isn't, we'll throw away the highlighting groups for ksh. if exists('g:is_kornshell') && !exists('b:is_ksh') syntax clear kshSpecialVariables syntax clear kshStatement |