Hi, adding a single line comments to htmldjango files was straight forward as it was explained in the docs. However, I couldn't find something to add block comment marks.
require'nvim_comment'.setup(
{
hook = function()
if vim.api.nvim_buf_get_option(0, "filetype") == "htmldjango" then
-- Assumes this is being run in the context of the filetype...
vim.api.nvim_buf_set_option(0, "commentstring", "{# %s #}")
end
end
}
)
This is an example how a block comment should look like. If you point me towards the proper position in the source code, I could try adding it and creating a PR?
Hi, adding a single line comments to htmldjango files was straight forward as it was explained in the docs. However, I couldn't find something to add block comment marks.
This is an example how a block comment should look like. If you point me towards the proper position in the source code, I could try adding it and creating a PR?