Closed jsit closed 10 years ago
If I do this, it then works:
:set ofu=syntaxcomplete#Complete
But filetype plugin
sets ofu
for html filetypes to htmlcomplete#CompleteTags
-- and isn't that what it should be? (Looking at this plugin's autoload/htmlcomplete.vim)
Sorry I am in a busy week.
syntaxcomplete#Complete
is syntax complete function.
Not actually comes from html5.vim.
Its related to #40 . And I think all new tags are missing for this case. Should fix today.
Thanks -- what should the value of omnifunc
be for this plugin to suggest
the HTML5 tag completions?
On Fri, Jun 6, 2014 at 11:46 AM, othree notifications@github.com wrote:
Sorry I am in a busy week.
syntaxcomplete#Complete is syntax complete function. Not actually comes from html5.vim.
Its related to #40 https://github.com/othree/html5.vim/issues/40 . And I think all new tags are missing for this case. Should fix today.
— Reply to this email directly or view it on GitHub https://github.com/othree/html5.vim/issues/43#issuecomment-45351824.
Try this
vim -Nu <(echo 'let &rtp="~/.vim/bundle/html5.vim/," . &rtp')
This will prepend html to the front. +=
will append. Which will cause autoload load the same file in vimruntime.
Of course. please update to latest version.
I hate to be so vague in my title, but here's what I'm doing:
I'm running Vim with this command:
Then I'm doing
:syntax on
,:filetype plugin on
,:set ft=html
Then I insert
<artic
, then type<C-x><C-o>
, and I get "Pattern not found."Same result for
<asid
,<heade
, etc.Am I doing something wrong?