diff options
| author | Kyren223 <kyren223@proton.me> | 2025-08-01 18:12:15 +0300 |
|---|---|---|
| committer | Kyren223 <kyren223@proton.me> | 2025-08-01 18:12:15 +0300 |
| commit | 6d5a01d6b0bae1d687eec916d86d31f2fff1cc46 (patch) | |
| tree | 1ffe8345267ca59d2a01422af1f0fe7e8f5568c4 /.config/nvim/lua/autocmds.lua | |
| parent | f1c40fbd6603d85d66c94965f1c329bd3c07d402 (diff) | |
No comments on enter (experimental)
Diffstat (limited to '.config/nvim/lua/autocmds.lua')
| -rw-r--r-- | .config/nvim/lua/autocmds.lua | 2 |
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, }) |
