summaryrefslogtreecommitdiff
path: root/config/vim
diff options
context:
space:
mode:
Diffstat (limited to 'config/vim')
-rw-r--r--config/vim/vimrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/vim/vimrc b/config/vim/vimrc
index 1850986..5444edb 100644
--- a/config/vim/vimrc
+++ b/config/vim/vimrc
@@ -14,7 +14,7 @@ set spelllang=en_gb
set number relativenumber
-syntax on
+syntax on
nnoremap <silent> <C-l> :nohl<CR><C-l>
@@ -50,7 +50,7 @@ Plug 'preservim/vim-markdown'
Plug 'neoclide/coc.nvim'
-hi CocInlayHint ctermbg=Black ctermfg=Gray
+hi CocInlayHint ctermbg=Black ctermfg=Gray
set updatetime=300
set signcolumn=yes
@@ -118,4 +118,5 @@ call plug#end()
highlight Pmenu ctermbg=black guibg=black ctermfg=white
-
+hi TrailingWhitespace ctermbg=red guibg=red
+call matchadd("TrailingWhitespace", '\v\s+$')