From f3af4971e9591ea012e0f2088b29314b3611323d Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 26 Oct 2016 18:53:58 -0400 Subject: Add ftplugin/todo.vim Special overrides for *.todo files. Here we unlet `b:did_ftplugin` to allow the plugin's ftplugin to execute. Normally, we override `b:did_ftplugin` to disable filetype functionality. In this case, though, we do want the ftplugin code that comes with vim-twodo to be loaded and useable. We also set a custom colour for regular todos that fits with our default twilight256 colour scheme. --- ftplugin/todo.vim | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 ftplugin/todo.vim (limited to 'ftplugin') diff --git a/ftplugin/todo.vim b/ftplugin/todo.vim new file mode 100644 index 0000000..64642ac --- /dev/null +++ b/ftplugin/todo.vim @@ -0,0 +1,5 @@ +if exists('b:did_ftplugin') + unlet b:did_ftplugin +endif + +highlight Statement ctermbg=220 ctermfg=235 -- cgit v1.2.3