diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2025-07-28 23:48:32 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2025-07-28 23:48:32 +0800 |
| commit | fc717b3a291ef6ac6d0504a4e511143fc66ecbb5 (patch) | |
| tree | c827ba24f80ddfdec20bb8c9ffbe4cde91234674 /vim/init | |
| parent | cda0870089c57d9b3859af0e58de0349da559020 (diff) | |
Update
Diffstat (limited to 'vim/init')
| -rw-r--r-- | vim/init/highlight.vim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vim/init/highlight.vim b/vim/init/highlight.vim index 7f1a9a8..bac802b 100644 --- a/vim/init/highlight.vim +++ b/vim/init/highlight.vim | |||
| @@ -2,10 +2,8 @@ | |||
| 2 | hi LuaParen ctermfg=NONE ctermbg=darkgrey cterm=NONE | 2 | hi LuaParen ctermfg=NONE ctermbg=darkgrey cterm=NONE |
| 3 | 3 | ||
| 4 | " Show trailing spaces | 4 | " Show trailing spaces |
| 5 | if has('nvim') | ||
| 6 | match ExtraWhitespace /\s\+$/ | ||
| 7 | endif | ||
| 8 | hi ExtraWhitespace ctermbg=red guibg=red | 5 | hi ExtraWhitespace ctermbg=red guibg=red |
| 6 | match ExtraWhitespace /\s\+$/ | ||
| 9 | 7 | ||
| 10 | hi CursorLine guibg=NONE | 8 | hi CursorLine guibg=NONE |
| 11 | " Only works when :set cursorline in neovim | 9 | " Only works when :set cursorline in neovim |