From f3aa132a4f360dc4eea23dbf7fc3271823d64418 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 29 Nov 2018 21:10:48 +1300 Subject: 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. --- vim/autoload/htmlcomplete.vim | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 vim/autoload/htmlcomplete.vim (limited to 'vim') 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 -- cgit v1.2.3