From 0b477057b24a9b31454d5bc8da6f79ee6b647f24 Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Sun, 15 Oct 2023 16:21:17 +0200 Subject: [PATCH] Correction : erreur dans la configuration des LSP 2 require('core.lsp') se clashaient --- config/nvim/lua/core/lsp.lua | 7 ------- config/nvim/lua/core/lsp/init.lua | 6 ++++++ 2 files changed, 6 insertions(+), 7 deletions(-) delete mode 100644 config/nvim/lua/core/lsp.lua diff --git a/config/nvim/lua/core/lsp.lua b/config/nvim/lua/core/lsp.lua deleted file mode 100644 index 1721748..0000000 --- a/config/nvim/lua/core/lsp.lua +++ /dev/null @@ -1,7 +0,0 @@ -local nvim_lsp = require'lspconfig' - -local on_attach = function(client) - require'completion'.on_attach(client) -end - -require('core.lsp') diff --git a/config/nvim/lua/core/lsp/init.lua b/config/nvim/lua/core/lsp/init.lua index d6a0723..f7411f0 100644 --- a/config/nvim/lua/core/lsp/init.lua +++ b/config/nvim/lua/core/lsp/init.lua @@ -1 +1,7 @@ +local nvim_lsp = require'lspconfig' + +local on_attach = function(client) + require'completion'.on_attach(client) +end + require('core.lsp.rust_analyzer')