home: vim: configure 'null-ls' for 'nix'

This commit is contained in:
Bruno BELANYI 2022-02-25 18:19:41 +01:00
parent 300ce25c8e
commit 54ad5d9282

View file

@ -0,0 +1,10 @@
" Create the `b:undo_ftplugin` variable if it doesn't exist
call ftplugined#check_undo_ft()
" Set-up LSP, linters, formatters
lua << EOF
local null_ls = require("null-ls")
null_ls.register({
null_ls.builtins.formatting.nixpkgs_fmt,
})
EOF