summaryrefslogtreecommitdiff
path: root/fnl/config/lsp/settings/sumneko-lua.fnl
blob: acc8df222d0b0ac63132d33c64b54a629b15aace (plain)
1
2
3
4
5
6
7
8
9
;; Config for a 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 opts {:settings {:Lua {:diagnostics  {:globals [ :vim ]} :workspace  workspace}}})