From 9323f2039c4342343b7f8c66eece1b3d23a56420 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 24 Nov 2018 21:31:48 +0100 Subject: ftplugin/todo.vim: Don't change highlighting of non-todo files Previously, the custom highlighting I had added for TODO files would infect the highlighting of all other files in the same Vim session. Only change the highlighting of the `todoUndone` group so that it doesn't affect anything else. --- ftplugin/todo.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftplugin') diff --git a/ftplugin/todo.vim b/ftplugin/todo.vim index c06e32f..8af9a35 100644 --- a/ftplugin/todo.vim +++ b/ftplugin/todo.vim @@ -4,4 +4,4 @@ endif setlocal nocursorline -highlight Statement ctermbg=220 ctermfg=235 +highlight todoUndone ctermbg=220 ctermfg=235 -- cgit v1.2.3