From 21e72dfb45fccc00a487323b58cf7ebce882deae Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Tue, 21 Feb 2023 10:16:22 +0100 Subject: [PATCH] Feat(nvim): use external ltex --- nvim/.config/nvim/lua/lsp.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nvim/.config/nvim/lua/lsp.lua b/nvim/.config/nvim/lua/lsp.lua index 48ef90d..6aa8f3b 100644 --- a/nvim/.config/nvim/lua/lsp.lua +++ b/nvim/.config/nvim/lua/lsp.lua @@ -47,7 +47,7 @@ local servers = { "vuels", "tsserver", "html", - "sumneko_lua", + "lua_ls", "ansiblels", "arduino_language_server", "clangd", @@ -68,9 +68,11 @@ nvim_lsp.vuels.setup{ } nvim_lsp.ltex.setup{ + on_attach = on_attach, + cmd = { "ltex-ls" }, settings = { ltex = { - language = "fr", + language = "fr", } } }