aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-11-29 21:10:48 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-11-29 23:19:51 +1300
commitf3aa132a4f360dc4eea23dbf7fc3271823d64418 (patch)
tree2dacfcdae4f3458eead08f177bdbcae6938f5cd3
parentClear away stock ft=mail quoting maps (diff)
downloaddotfiles-f3aa132a4f360dc4eea23dbf7fc3271823d64418.tar.gz
dotfiles-f3aa132a4f360dc4eea23dbf7fc3271823d64418.zip
Add dummy function for HTML omnicompletion
The function invoked to detect the HTML type for omnicompletion is pretty big, sets a few buffer variables that it doesn't arrange to clear, and I don't use it at all. Loading a dummy function in its place seems to be better.
-rw-r--r--vim/autoload/htmlcomplete.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/vim/autoload/htmlcomplete.vim b/vim/autoload/htmlcomplete.vim
new file mode 100644
index 00000000..d4e52cd6
--- /dev/null
+++ b/vim/autoload/htmlcomplete.vim
@@ -0,0 +1,5 @@
+" Override expensive HTML version detection for 'omnifunc', that I don't use
+" and can't otherwise disable
+function! htmlcomplete#DetectOmniFlavor()
+ return
+endfunction