Move comment highlighting to 'after/syntax'

This commit is contained in:
2023-05-12 14:32:57 +02:00
parent 77f58140a1
commit 5b801ed608
5 changed files with 11 additions and 9 deletions

9
.vimrc
View File

@@ -525,15 +525,6 @@ augroup vimStartup
augroup END
" Highlight todo's for every filetype
" https://stackoverflow.com/questions/11709965/vim-highlight-the-word-todo-for-every-filetype
augroup HiglightTODO
autocmd!
autocmd WinEnter,VimEnter * :silent! call matchadd('Todo', 'TODO', -1)
autocmd WinEnter,VimEnter * :silent! call matchadd('Todo', 'FIXME', -1)
autocmd WinEnter,VimEnter * :silent! call matchadd('Todo', 'QUESTION', -1)
augroup END
augroup Vim
au!
" Reload vim config when ~/.vimrc is changed