From 4308ea3c730cae2ba26595ef896627501b4cfe1c Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Fri, 19 Mar 2021 15:27:31 +1000 Subject: [PATCH] vim: disable automatically formatting on save --- profiles/vim.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/vim.nix b/profiles/vim.nix index 120445e..838467e 100644 --- a/profiles/vim.nix +++ b/profiles/vim.nix @@ -37,7 +37,7 @@ vim_configurable.customize { autocmd FileAppendPre * :call TrimWhiteSpace() autocmd FilterWritePre * :call TrimWhiteSpace() autocmd BufWritePre * :call TrimWhiteSpace() - autocmd BufWrite * :Autoformat + "autocmd BufWrite * :Autoformat " FIXME: Currently always set to dark due to issues with Termonad Solarized theme " Light during the day, dark during the night