summaryrefslogtreecommitdiff
path: root/lua/user/options.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/user/options.lua')
-rw-r--r--lua/user/options.lua1
1 files changed, 1 insertions, 0 deletions
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