From 6419875129f14de72b8603bae769ab876793ef60 Mon Sep 17 00:00:00 2001 From: ivarfatland Date: Thu, 14 Mar 2024 02:51:19 +0100 Subject: [PATCH] removed automatic comment insertion --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 42f4c22..1c9a936 100644 --- a/init.lua +++ b/init.lua @@ -91,7 +91,7 @@ vim.api.nvim_create_autocmd('TextYankPost', { -- Highlights yanked text. end }) vim.o.exrc = true -- Allows project specific .nvim.lua config files. - +vim.cmd [[ autocmd FileType * set formatoptions-=cro ]] -- Disable automatic comment. local ensure_packer = function()