summaryrefslogtreecommitdiff
path: root/fnl/config/lsp/settings
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-12 22:35:55 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-12 22:35:55 +0200
commitecf999671f61feed0ed548ae513cddc84eafd328 (patch)
tree09c3aee41d062d0fe47615c95e36a77cd634d28d /fnl/config/lsp/settings
parentceb20d99af1433044d43cbaef852e73889de2b5c (diff)
fix(sumneko): remove bloat
Diffstat (limited to 'fnl/config/lsp/settings')
-rw-r--r--fnl/config/lsp/settings/sumneko-lua.fnl16
1 files changed, 1 insertions, 15 deletions
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}}})