From f845a7b0588559750b1cb7eede1b3aecb450cdfe Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 1 May 2022 23:06:03 +0200 Subject: style: fmt with fnlfmt --- fnl/config/lsp/settings/sumneko-lua.fnl | 38 ++++++++++++++------------------- 1 file changed, 16 insertions(+), 22 deletions(-) (limited to 'fnl/config/lsp/settings/sumneko-lua.fnl') diff --git a/fnl/config/lsp/settings/sumneko-lua.fnl b/fnl/config/lsp/settings/sumneko-lua.fnl index d40fe9b..0f20f53 100644 --- a/fnl/config/lsp/settings/sumneko-lua.fnl +++ b/fnl/config/lsp/settings/sumneko-lua.fnl @@ -2,28 +2,22 @@ (module config.lsp.settings.sumneko-lua) (def- workspace - {:library {(vim.fn.expand "$VIMRUNTIME/lua") true - (vim.fn.expand "$VIMRUNTIME/lua/vim/lsp") true}}) + {: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 opts - {:settings {:Lua {:diagnostics diagnostics - :workspace workspace - :runtime runtime}}}) +(def opts {:settings {:Lua {: diagnostics : workspace : runtime}}}) -- cgit v1.2.3-70-g09d2