Neovim comments (gc{motion}, gcc, etc.) uses information from vim.filetype.get_option(lang, 'commentstring'). And this plugin, somehow, breaks it.
Steps to reproduce
nvim file.sh
itext<Esc>
gcc
As expected you will get in the "file.sh" buffer:
Split to "file.lua":
:split file.lua<Enter>
itext<Esc>
gcc
Now you would expect in "file.lua" to get -- text, but you get:
Neovim comments (
gc{motion},gcc, etc.) uses information fromvim.filetype.get_option(lang, 'commentstring'). And this plugin, somehow, breaks it.Steps to reproduce
As expected you will get in the "file.sh" buffer:
# textSplit to "file.lua":
Now you would expect in "file.lua" to get
-- text, but you get: