leafgarland / typescript-vim

Typescript syntax files for Vim
1.89k stars 144 forks source link

Including plugin breaks tsuquyomi #126

Open ajcrites opened 6 years ago

ajcrites commented 6 years ago

I have boiled my vimrc down to include these two plugins using dein:

if dein#load_state(expand('~/.config/nvim/dein'))
      call dein#begin(expand('~/.config/nvim/dein'))
      call dein#add('Shougo/dein.vim')
      call dein#add('Shougo/vimproc.vim', {'build': 'make'})
      call dein#add('Quramy/tsuquyomi')
      call dein#add('leafgarland/typescript-vim')

      call dein#end()
      call dein#save_state()
 endif

This seems to break Tsuquyomi and things like completion and linting do not work. If I check TsuStatusServer it comes back with dead.

Simply disabling leafgarland/typescript-vim gets things working again, and TsuStatusServer comes back with idle for typescript files.

Assuming this issue is more difficult to fix, is there any way to use this plugin only for syntax highlighting?

leafgarland commented 6 years ago

Have you tried loading tsuquyomi after this plugin, does that make any difference?

leafgarland commented 6 years ago

It might be the buffer autocmds that are breaking things, and the plugin order should affect that.

rhysd commented 6 years ago

FYI: ftplugin/typescript.vim conflicted between Tsuquyomi and typescript-vim. But it was fixed. So this issue may be already gone.