From 34468c3cdfc6e8497fcc7332e58f5b79078510d9 Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Wed, 13 Oct 2021 23:58:07 +0200 Subject: [PATCH] No auto comment in newline --- lua/autocommands.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/autocommands.lua b/lua/autocommands.lua index 983ab72..4a169c8 100644 --- a/lua/autocommands.lua +++ b/lua/autocommands.lua @@ -35,6 +35,9 @@ local autocmds = { }; file_changed = { {'BufEnter,FocusGained', '*', 'checktime'}; + }; + no_auto_comment = { + {'BufEnter', '*', 'set fo-=c fo-=r fo-=o'} } }