From df0b02f2ecf05d63d028b602b71197ac7ff31289 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Thu, 4 Jul 2024 11:53:24 +0200 Subject: feat: Sync --- lua/gabrielgio/lsp.lua | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'lua/gabrielgio/lsp.lua') diff --git a/lua/gabrielgio/lsp.lua b/lua/gabrielgio/lsp.lua index 3856db9..97f6d03 100644 --- a/lua/gabrielgio/lsp.lua +++ b/lua/gabrielgio/lsp.lua @@ -34,7 +34,6 @@ load_all({ lsp_config.cssls.setup, lsp_config.html.setup, lsp_config.emmet_ls.setup, - lsp_config.lua_ls.setup, lsp_config.pylsp.setup }) @@ -43,3 +42,13 @@ lsp_config.gopls.setup({ cmd_env = {GOFLAGS = "-tags=unit,integration,e2e"}, on_attach = on_attach }) + +lsp_config.lua_ls.setup({ + settings = { + Lua = { + diagnostics = { + globals = {'vim'} + } + } + } +}) -- cgit v1.2.3