Closed app closed 3 years ago
From your example, it looks like you're having trouble with the comment-based syntax (schema1
above). Is that correct?
Support for that syntax was adding about a month ago in #69 (262dee0). Can you double-check that your copy of vim-graphql includes that commit?
Could you also let me know if you're using a JavaScript syntax plugin in addition to (neo)vim's built-in JavaScript language support?
Thanks for quick replay!
Yes I use vim-javascript plugin this way
Plug 'pangloss/vim-javascript', { 'for': ['javascript', 'javascript.jsx'] }
And I run :PlugUpdate today
There is a git command runned inside ~/.config/nvim/plugged/vim-graphql
I see https://github.com/jparise/vim-graphql/blob/master/after/syntax/javascript/graphql.vim#L41 differ from the same line of file/commit you pointed https://github.com/jparise/vim-graphql/commit/262dee0f4a85099669af16d0f77c61897daff55e
Does it matter?
I can reproduce this now. It only seems to misbehave when the pangloss/vim-javascript
plugin is also present. I'll hopefully have a fix for this soon.
@app This should be fixed now (by #75). Let me know if you're still seeing a problem after you update.
Thanks, @jparise ! This fix works for me too.
The # gql
comment for triggering graphql syntax highlighting does not work for me.
NVIM v0.4.3 Latest vim-graphql from vim-plug
I have pangloss/vim-javascript
and HerringtonDarkholme/yats.vim
but tried disabling both and it had no effect.
https://user-images.githubusercontent.com/11027/136661630-53c0e55c-bbcd-4b0c-8b10-1367c186a622.mp4
@raine, it still works for me. Yesterday I upgraded nvim to 0.5.1
:PlugUpdate ?
You may clone and try my nvim config here https://github.com/app/nvim
Works but not always. Simple plug install with default settings.
Vim Version