We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/nvim-lua/kickstart.nvim/blob/master/init.lua + add 'JoosepAlviste/nvim-ts-context-commentstring' inside require('lazy').setup({})
'JoosepAlviste/nvim-ts-context-commentstring'
require('lazy').setup({})
The README says that it works ootb, I tried with comment.nvim and mini.comment and it didn't. I had to add this configuration to mini.comment :
mini.comment
{ "echasnovski/mini.comment", event = "VeryLazy", opts = { options = { custom_commentstring = function() return require("ts_context_commentstring.internal").calculate_commentstring() or vim.bo.commentstring end, }, }, }
and this to comment.nvim :
comment.nvim
return { 'numToStr/Comment.nvim', lazy = false, config = function() require('Comment').setup { pre_hook = require('ts_context_commentstring.integrations.comment_nvim').create_pre_hook(), } end, }
.tsx
//
Should work ootb as per the README
Doesn't work ootb
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Minimal reproducible full config
https://github.com/nvim-lua/kickstart.nvim/blob/master/init.lua + add
'JoosepAlviste/nvim-ts-context-commentstring'
insiderequire('lazy').setup({})
Description
The README says that it works ootb, I tried with comment.nvim and mini.comment and it didn't. I had to add this configuration to
mini.comment
:and this to
comment.nvim
:Steps to reproduce
'JoosepAlviste/nvim-ts-context-commentstring'
torequire('lazy').setup({})
.tsx
file just adds the classic js//
Expected behavior
Should work ootb as per the README
Actual behavior
Doesn't work ootb
The text was updated successfully, but these errors were encountered: