From 0f59d5f636fe21ab24fca30815a04d7fe52d191e Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Sun, 15 Oct 2023 16:27:25 +0200 Subject: [PATCH] Ajout : passage de variables en mode globales pour la configuration des LSP --- config/nvim/lua/core/lsp/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/nvim/lua/core/lsp/init.lua b/config/nvim/lua/core/lsp/init.lua index f7411f0..a5f4146 100644 --- a/config/nvim/lua/core/lsp/init.lua +++ b/config/nvim/lua/core/lsp/init.lua @@ -1,6 +1,6 @@ -local nvim_lsp = require'lspconfig' +nvim_lsp = require'lspconfig' -local on_attach = function(client) +on_attach = function(client) require'completion'.on_attach(client) end