[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of ts-comments.nvim
[X] I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
0.10.1
Operating system/version
MacOS 14.3
Describe the bug
Hi there,
I've noticed that languages like Terraform don't have a ftplugin available yet (it's in the process of being added from Vim source). Because of this, the plugin isn't working properly for uncommenting.
It would be great if we could set a default comment string directly in this plugin.
Thanks for considering this!
Steps To Reproduce
Comment a block in a tf file
It should say commentstring is empty
Expected Behavior
The code should be uncommented
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
{ "folke/ts-comments.nvim", opts = {} },
-- add any other plugins here
},
})
Did you check docs and existing issues?
Neovim version (nvim -v)
0.10.1
Operating system/version
MacOS 14.3
Describe the bug
Hi there,
I've noticed that languages like Terraform don't have a ftplugin available yet (it's in the process of being added from Vim source). Because of this, the plugin isn't working properly for uncommenting.
It would be great if we could set a default comment string directly in this plugin.
Thanks for considering this!
Steps To Reproduce
Expected Behavior
The code should be uncommented
Repro