summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/autocmds.lua
diff options
context:
space:
mode:
authorKyren223 <kyren223@proton.me>2025-08-01 18:12:15 +0300
committerKyren223 <kyren223@proton.me>2025-08-01 18:12:15 +0300
commit6d5a01d6b0bae1d687eec916d86d31f2fff1cc46 (patch)
tree1ffe8345267ca59d2a01422af1f0fe7e8f5568c4 /.config/nvim/lua/autocmds.lua
parentf1c40fbd6603d85d66c94965f1c329bd3c07d402 (diff)
No comments on enter (experimental)
Diffstat (limited to '.config/nvim/lua/autocmds.lua')
-rw-r--r--.config/nvim/lua/autocmds.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/lua/autocmds.lua b/.config/nvim/lua/autocmds.lua
index 1e9ac20..9b54e17 100644
--- a/.config/nvim/lua/autocmds.lua
+++ b/.config/nvim/lua/autocmds.lua
@@ -14,7 +14,7 @@ vim.api.nvim_create_autocmd('BufEnter', {
desc = 'Disable newlines on commented lines from continuing the comment',
group = augroup('disable-comments-continuation'),
callback = function()
- -- vim.opt_local.formatoptions:remove('r') -- no comments on enter
+ vim.opt_local.formatoptions:remove('r') -- no comments on enter
vim.opt_local.formatoptions:remove('o') -- no comments on `o` or `O`
end,
})