Open beyond9thousand opened 2 years ago
You can check whether you're in Neovim in your .vimrc
using has('nvim')
, and change the behaviour based on that.
In NeoVim, if you are configuring in Lua instead of VimScript, the equivalent code would be
vim.g.polyglot_disabled = {'markdown'}
or
vim.g.polyglot_disabled = {'markdown.plugin'}
respectively.
How can I make this work with nvim?