From adf1a55724913282f6d654e80544ce8f27e0c7a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Mon, 20 May 2024 02:42:23 +0200 Subject: [PATCH] Add zls --- home/editor/neovim/default.nix | 1 + home/editor/neovim/plugins.lua | 3 +++ 2 files changed, 4 insertions(+) diff --git a/home/editor/neovim/default.nix b/home/editor/neovim/default.nix index 03ab87a..3af2a29 100644 --- a/home/editor/neovim/default.nix +++ b/home/editor/neovim/default.nix @@ -57,6 +57,7 @@ yaml-language-server lua-language-server clang-tools + zls ]; home.sessionVariables.EDITOR = "nvim"; } diff --git a/home/editor/neovim/plugins.lua b/home/editor/neovim/plugins.lua index 656242c..a787d56 100644 --- a/home/editor/neovim/plugins.lua +++ b/home/editor/neovim/plugins.lua @@ -129,6 +129,9 @@ lspconfig.rust_analyzer.setup { -- LSP: C/C++ lspconfig.clangd.setup({}) +-- LSP: zig +lspconfig.zls.setup({}) + -- Telescope require('telescope').setup({ extensions = {