From ecf999671f61feed0ed548ae513cddc84eafd328 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 12 Apr 2022 22:35:55 +0200 Subject: fix(sumneko): remove bloat --- fnl/config/lsp/settings/sumneko-lua.fnl | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'fnl/config/lsp') diff --git a/fnl/config/lsp/settings/sumneko-lua.fnl b/fnl/config/lsp/settings/sumneko-lua.fnl index 5a9d725..acc8df2 100644 --- a/fnl/config/lsp/settings/sumneko-lua.fnl +++ b/fnl/config/lsp/settings/sumneko-lua.fnl @@ -5,19 +5,5 @@ {:library {(vim.fn.expand :$VIMRUNTIME/lua) true (vim.fn.expand :$VIMRUNTIME/lua/vim/lsp) true}}) -(def- diagnostics {:globals [:vim - :map - :filter - :range - :reduce - :head - :tail - :nth - :use - :describe - :it - :dump]}) -(def- runtime {:version :LuaJIT :path (vim.split package.path ";")}) - -(def opts {:settings {:Lua {:diagnostics diagnostics :workspace workspace :runtime runtime}}}) +(def opts {:settings {:Lua {:diagnostics {:globals [ :vim ]} :workspace workspace}}}) -- cgit v1.2.3-70-g09d2