From 127047caeb69c5a84040388ffb13d5c5eb7c080e Mon Sep 17 00:00:00 2001 From: Asmir A Date: Tue, 3 Dec 2024 22:24:57 +0100 Subject: [PATCH] lsp: add yaml-lsp-server --- flake.nix | 1 + vimrc.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 3ba813f..0b4e9ef 100644 --- a/flake.nix +++ b/flake.nix @@ -33,6 +33,7 @@ texlab tree-sitter verible + yaml-language-server zls ] ++ [neovim]; diff --git a/vimrc.lua b/vimrc.lua index c27bc0c..f7314a0 100644 --- a/vimrc.lua +++ b/vimrc.lua @@ -182,7 +182,7 @@ cmp.setup({ } }) -local servers = { 'pyright', 'rust_analyzer', 'ccls', 'nixd', 'texlab', 'zls', 'gopls' } +local servers = { 'pyright', 'rust_analyzer', 'ccls', 'nixd', 'texlab', 'zls', 'gopls', 'yamlls' } local capabilities = require('cmp_nvim_lsp').default_capabilities() for _, lsp in pairs(servers) do require('lspconfig')[lsp].setup {