summaryrefslogtreecommitdiff
path: root/fnl/config/lsp/settings/sumneko-lua.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 18:52:34 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 18:52:34 +0200
commitb74c9dd22e632bbe720587db92966c4d6811b766 (patch)
treef68e5bb862fd5a800f86852e535d29984f461cb3 /fnl/config/lsp/settings/sumneko-lua.fnl
parent274648011686b1c822e63b03bdcc6f2ce8e9b41e (diff)
style: format with fnlfmt
Diffstat (limited to 'fnl/config/lsp/settings/sumneko-lua.fnl')
-rw-r--r--fnl/config/lsp/settings/sumneko-lua.fnl30
1 files changed, 17 insertions, 13 deletions
diff --git a/fnl/config/lsp/settings/sumneko-lua.fnl b/fnl/config/lsp/settings/sumneko-lua.fnl
index e39c801..cc8e9ab 100644
--- a/fnl/config/lsp/settings/sumneko-lua.fnl
+++ b/fnl/config/lsp/settings/sumneko-lua.fnl
@@ -1,19 +1,23 @@
;; 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- 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- diagnostics {:globals [:vim
+ :map
+ :filter
+ :range
+ :reduce
+ :head
+ :tail
+ :nth
+ :use
+ :describe
+ :it
+ :dump]})
-(def- runtime
- {:version "LuaJIT"
- :path (vim.split package.path ";")})
+(def- runtime {:version :LuaJIT :path (vim.split package.path ";")})
-(def settings
- {:settings {
- :Lua {
- :diagnostics diagnostics
- :workspace workspace}}})
+(def settings {:settings {:Lua {: diagnostics : workspace}}})