From ed4b3c8a653d781a2428359fc29de559a10c6317 Mon Sep 17 00:00:00 2001 From: louie Date: Tue, 28 Jun 2022 18:52:42 -0700 Subject: Disable automatic comment insertion --- lua/user/options.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'lua') diff --git a/lua/user/options.lua b/lua/user/options.lua index 0059e8c..9a43c86 100644 --- a/lua/user/options.lua +++ b/lua/user/options.lua @@ -5,6 +5,7 @@ vim.opt.number = true --number rows vim.opt.shiftwidth = 4 --set shiftwidth vim.opt.smartindent = true --auto-indent vim.opt.tabstop = 4 --set tab length +vim.cmd("autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o") --disable automatic comment insertion -- Fold Settings vim.opt.foldmethod = "indent" --enable fold detection -- cgit