diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-01-07 01:45:49 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-01-07 01:45:49 +0100 |
commit | dedf2e53f661cde3e50852ddfd5f42cdfe97b215 (patch) | |
tree | acbaf3dda2d42b49311198d588dfd6b6f4ecdf73 | |
parent | a2d801e201d9e24bbccf869a5a0b0debdc2fd6f5 (diff) |
Update lua server settings
-rw-r--r-- | fnl/config/lsp/settings/sumneko-lua.fnl | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/fnl/config/lsp/settings/sumneko-lua.fnl b/fnl/config/lsp/settings/sumneko-lua.fnl index 88545c1..83817f8 100644 --- a/fnl/config/lsp/settings/sumneko-lua.fnl +++ b/fnl/config/lsp/settings/sumneko-lua.fnl @@ -1,23 +1,8 @@ ;; Config for the sumneko-lua language server. (module config.lsp.settings.sumneko-lua) -(def- workspace - {: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 : workspace : runtime}}}) +(def opts {:settings {:Lua {:completion {:callSnippet :Replace} + :workspace {:checkThirdParty false} + : runtime}}}) |