diff --git a/home/user/.config/nvim/lua/base/options.lua b/home/user/.config/nvim/lua/base/options.lua index 7c31352..bb40db4 100644 --- a/home/user/.config/nvim/lua/base/options.lua +++ b/home/user/.config/nvim/lua/base/options.lua @@ -58,6 +58,11 @@ opt.colorcolumn = '81' opt.scrolloff = 7 +opt.formatoptions:remove("c") +opt.formatoptions:remove("r") +opt.formatoptions:remove("o") + + opt.termguicolors = true opt.background = 'dark' @@ -113,9 +118,6 @@ vim.api.nvim_create_autocmd("TextYankPost", { end, }) --- dont auto commenting new lines -vim.api.nvim_create_autocmd("BufEnter", {pattern = "*", command = [[set fo-=c fo-=r fo-=o]]}) - vim.cmd.highlight({ "DiagnosticError", "guifg=Grey" }) vim.cmd.highlight({ "DiagnosticWarn", "guifg=Grey" }) vim.cmd.highlight({ "DiagnosticInfo", "guifg=Grey" })