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
neovim version:
NVIM v0.10.0 Build type: Release LuaJIT 2.1.1713773202
Just find out after upgrading to neovim version v0.10.0, the visual mode comment will break the indentation.
Original code:
type MyType struct { Name string Id int }
Before upgrading to v0.10.0, after visual mode select and gc
gc
// type MyType struct { // Name string // Id int // }
But now it became as following, which won't push back the other line of code.
I've tested on lua, too. Before:
{ "numToStr/Comment.nvim", config = function() require("Comment").setup({ pre_hook = require("ts_context_commentstring.integrations.comment_nvim").create_pre_hook(), }) end, dependencies = { "JoosepAlviste/nvim-ts-context-commentstring" }, },
After commenting:
-- { -- "numToStr/Comment.nvim", -- config = function() -- require("Comment").setup({ -- pre_hook = require("ts_context_commentstring.integrations.comment_nvim").create_pre_hook(), -- }) -- end, -- dependencies = { "JoosepAlviste/nvim-ts-context-commentstring" }, -- },
The text was updated successfully, but these errors were encountered:
No branches or pull requests
neovim version:
Just find out after upgrading to neovim version v0.10.0, the visual mode comment will break the indentation.
Original code:
Before upgrading to v0.10.0, after visual mode select and
gc
But now it became as following, which won't push back the other line of code.
I've tested on lua, too.
Before:
After commenting:
The text was updated successfully, but these errors were encountered: