From 8b4a5e174f6727d112d862b1ff6accd4bfa9f38c Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 4 Mar 2022 14:20:29 +0100 Subject: [PATCH] home: vim: add 'rnix' LSP configuration --- home/vim/plugin/settings/lspconfig.vim | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/home/vim/plugin/settings/lspconfig.vim b/home/vim/plugin/settings/lspconfig.vim index a51e284..2442059 100644 --- a/home/vim/plugin/settings/lspconfig.vim +++ b/home/vim/plugin/settings/lspconfig.vim @@ -9,6 +9,13 @@ if utils.is_executable("clangd") then }) end +-- Nix +if utils.is_executable("rnix-lsp") then + lsp.rnix.setup({ + on_attach = utils.on_attach, + }) +end + -- Python if utils.is_executable("pyright") then lsp.pyright.setup({