-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
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
BREAKING CHANGES #82
Comments
The minimum Neovim version for this plugin is now version 0.9: 34ff1fa Migration guideUpdate to Neovim version 0.9 |
Usage as a The plugin is set up automatically now. This also increases the minimal Neovim version to 0.9.4. Migration guideUpgrade your Neovim version to at least 0.9.4. If you're using the default configuration, then just delete the Before: require('nvim-treesitter.configs').setup {
context_commentstring = {
enable = true,
},
} After: require('nvim-treesitter.configs').setup {}
-- nvim-ts-context-commentstring is set up automatically If you're using any custom configuration, then use Before: require('nvim-treesitter.configs').setup {
context_commentstring = {
enable = true,
enable_autocmd = false,
-- or "config" if you're still using the old configuration key
languages = {
typescript = '// %s',
},
},
} After: require('ts_context_commentstring').setup {
enable_autocmd = false,
languages = {
typescript = '// %s',
},
} |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Following the migration guide from: JoosepAlviste/nvim-ts-context-commentstring#82 (comment)
This comment was marked as resolved.
This comment was marked as resolved.
This also includes removing `enable_autocmd = false`, we can restore this later if needed. See migration guide JoosepAlviste/nvim-ts-context-commentstring#82 (comment)
References: JoosepAlviste/nvim-ts-context-commentstring#82 Signed-off-by: Fletcher Nichol <[email protected]>
The require('ts_context_commentstring').setup {
languages = {
c = { __default = '// %s', __multiline = '/* %s */' },
},
} |
The comments of this issue will include all breaking changes together with migration guides.
Please open a separate issue if there are any issues following the migration guides. I'd like to keep this thread clean so that it would be easy to find information for everyone.
The text was updated successfully, but these errors were encountered: