Replies: 1 comment 1 reply
-
I just found a solution and put it in options.lua vim.api.nvim_create_autocmd("FileType", {
pattern = "cuda",
callback = function()
vim.bo.commentstring = "// %s"
end,
})
Is there a better way to do this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I'm editing a CUDA file (.cu extension), mini.comment says 'Option 'commentstring' is empty'. How can I modify it to follow C++'s comment style?
Beta Was this translation helpful? Give feedback.
All reactions