Closed kaiphat closed 9 months ago
comments
Can i change this behaviour
Press enter and get new commented line
I hardly ever write multiline comments, so this feature is bothering me.
This comes from built-in Neovim. See r flag in :h formatoptions.
r
:h formatoptions
You can properly disable it by adding this autocommand in your config: vim.cmd('autocmd FileType * setlocal formatoptions-=r').
vim.cmd('autocmd FileType * setlocal formatoptions-=r')
Contributing guidelines
Module(s)
comments
Description
Can i change this behaviour
Press enter and get new commented line
I hardly ever write multiline comments, so this feature is bothering me.