ternjs / tern_for_vim

Tern plugin for Vim
MIT License
1.83k stars 100 forks source link

Support for .vue files #172

Open FernandoBasso opened 7 years ago

FernandoBasso commented 7 years ago

Currently, when I edit a .vue file, I can't run any of the Tern* commands. Is there a way to make those commands available when editing such files?

JohanBjoerklund commented 7 years ago

This would be great for riotjs aswell. Some commands works fine with this in my vimrc

autocmd FileType riot call tern#Enable()
autocmd FileType riot setlocal completeopt-=preview

But it is fragile, e.g. TernDef only works on default exports, and omnicomplete doesn't work at all.

dc3671 commented 7 years ago

+1

firejune commented 5 years ago

+1