From 367dc1e5a59920ac4ca7e6269eba9ca0e0819381 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 25 Feb 2022 11:48:26 +0100 Subject: [PATCH] home: vim: add 'null-ls' --- home/vim/default.nix | 2 ++ home/vim/plugin/settings/null-ls.vim | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 home/vim/plugin/settings/null-ls.vim diff --git a/home/vim/default.nix b/home/vim/default.nix index 7eb8b92..9fac4c6 100644 --- a/home/vim/default.nix +++ b/home/vim/default.nix @@ -64,6 +64,8 @@ in # LSP and linting lightline-lsp + null-ls-nvim # LSP integration for linters and formatters + plenary-nvim # 'null-ls' dependency ]; extraConfig = builtins.readFile ./init.vim; diff --git a/home/vim/plugin/settings/null-ls.vim b/home/vim/plugin/settings/null-ls.vim new file mode 100644 index 0000000..e9a0781 --- /dev/null +++ b/home/vim/plugin/settings/null-ls.vim @@ -0,0 +1,4 @@ +lua << EOF +null_ls = require("null-ls") +null_ls.setup() +EOF