diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-29 21:10:48 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-29 23:19:51 +1300 |
commit | f3aa132a4f360dc4eea23dbf7fc3271823d64418 (patch) | |
tree | 2dacfcdae4f3458eead08f177bdbcae6938f5cd3 /vim/autoload | |
parent | Clear away stock ft=mail quoting maps (diff) | |
download | dotfiles-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.
Diffstat (limited to 'vim/autoload')
-rw-r--r-- | vim/autoload/htmlcomplete.vim | 5 |
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 |