-
Notifications
You must be signed in to change notification settings - Fork 13
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
prefer_single_line_comments does not work for xml #52
Comments
Do you have single_line_comment_string = 'auto',
multi_line_comment_strings = 'auto', |
I comment |
Yes I do get expected results. I have the following configurations (in Lua) require('kommentary.config').configure_language('default', {
prefer_single_line_comments = true,
use_consistent_indentation = true,
ignore_whitespace = true,
-- JoosepAlviste/nvim-ts-context-commentstring
hook_function = function()
require('ts_context_commentstring.internal').update_commentstring()
end,
}) |
Thanks @yhu266 . I tried but problem remains. Because xml's commentstring kommentary/lua/kommentary/config.lua Lines 269 to 283 in 0f8e910
This will turn kommentary/lua/kommentary/config.lua Lines 377 to 384 in 0f8e910
It is |
The same thing is happening for me on Markdown and HTML filetypes.
For context, I don't have this installed. |
I set
for
expect(nerdcommenter)
but get
The text was updated successfully, but these errors were encountered: