diff options
-rw-r--r-- | home-manager/soispha/config/neovim/nixvim/autocmds/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home-manager/soispha/config/neovim/nixvim/autocmds/default.nix b/home-manager/soispha/config/neovim/nixvim/autocmds/default.nix index a34c9b99..c2b64ae3 100644 --- a/home-manager/soispha/config/neovim/nixvim/autocmds/default.nix +++ b/home-manager/soispha/config/neovim/nixvim/autocmds/default.nix @@ -10,7 +10,7 @@ event = ["BufWritePre"]; pattern = ["*"]; command = '' - ks | if search("\\s\\+$", 'n') != 0 :%s/\s\+//g endif | 's"; + ks | if search("\\s\\+$", 'n') != 0 | :%s/\s\+//g | endif | 's ''; description = '' Remove trailing whitespace on safe |