summaryrefslogtreecommitdiff
path: root/lua/config/lsp/settings/sumneko_lua.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-22 16:44:32 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-22 16:44:32 +0100
commit7a60f2d61c44cdba85cbcf10b561b0401e9b105a (patch)
tree0f92b1e21f84c907bcd1c373625960d2834dc326 /lua/config/lsp/settings/sumneko_lua.lua
parentc22beb43a4526372abbd6c3dab48051e6b4e2a20 (diff)
fix: format with stylua config
Diffstat (limited to 'lua/config/lsp/settings/sumneko_lua.lua')
-rw-r--r--lua/config/lsp/settings/sumneko_lua.lua26
1 files changed, 13 insertions, 13 deletions
diff --git a/lua/config/lsp/settings/sumneko_lua.lua b/lua/config/lsp/settings/sumneko_lua.lua
index d7957c1..ebf039f 100644
--- a/lua/config/lsp/settings/sumneko_lua.lua
+++ b/lua/config/lsp/settings/sumneko_lua.lua
@@ -1,18 +1,18 @@
-- Config for a Lua language server.
return {
- settings = {
+ settings = {
- Lua = {
- diagnostics = {
- globals = { "vim" },
- },
- workspace = {
- library = {
- [vim.fn.expand("$VIMRUNTIME/lua")] = true,
- [vim.fn.stdpath("config") .. "/lua"] = true,
- },
- },
- },
- },
+ Lua = {
+ diagnostics = {
+ globals = { "vim" },
+ },
+ workspace = {
+ library = {
+ [vim.fn.expand "$VIMRUNTIME/lua"] = true,
+ [vim.fn.stdpath "config" .. "/lua"] = true,
+ },
+ },
+ },
+ },
}