From af0d7448982881a5e2d63aff8e2d9c2f47582e8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 4 Feb 2024 09:24:35 +0100 Subject: vim: various tweaks and improvements --- vim/ftplugin/nix.vim | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 vim/ftplugin/nix.vim (limited to 'vim/ftplugin/nix.vim') diff --git a/vim/ftplugin/nix.vim b/vim/ftplugin/nix.vim new file mode 100644 index 0000000..3808c31 --- /dev/null +++ b/vim/ftplugin/nix.vim @@ -0,0 +1,5 @@ +let b:ale_linters = ['nix', 'rnix_lsp', 'statix'] +let b:ale_fixers = ['alejandra', 'remove_trailing_lines', 'trim_whitespace'] + +nmap :ALENext +nmap :ALEPrevious -- cgit v1.2.3