aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2016-10-26 18:53:58 -0400
committerTeddy Wing2016-10-26 18:53:58 -0400
commitf3af4971e9591ea012e0f2088b29314b3611323d (patch)
treea079ac3bba4a943338e6805a88d678be1af4f46a
parenta6a23745b81a9628a1bb879b067aa7c6bc87b942 (diff)
downloaddotvim-f3af4971e9591ea012e0f2088b29314b3611323d.tar.bz2
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.
-rw-r--r--ftplugin/todo.vim5
1 files changed, 5 insertions, 0 deletions
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