Fix stylua errors

main
Ensar Sarajčić 2022-05-09 13:14:19 +02:00
parent fd96c6afc2
commit 0a583cf540
3 changed files with 15 additions and 12 deletions

View File

@ -31,5 +31,5 @@ end
return {
on_attach = on_attach,
capabilities = capabilities
capabilities = capabilities,
}

View File

@ -11,19 +11,19 @@ local configuration_overrides = {
flags = {
-- Slow Godot LS
debounce_text_changes = 600,
}
},
},
omnisharp = {
cmd = {
vim.fn.glob("$HOME") .. "/lsp/dotnet/omnisharp/run",
"--languageserver",
"--hostPID",
tostring(vim.fn.getpid())
tostring(vim.fn.getpid()),
},
},
lemminx = {
cmd = { 'lemminx' }
}
cmd = { "lemminx" },
},
}
-- Lsp default language servers
@ -52,16 +52,19 @@ local servers = {
"zls",
}
for _, lsp in ipairs(servers) do
lspconfig[lsp].setup(vim.tbl_extend('force', common_config, configuration_overrides[lsp] or {}))
lspconfig[lsp].setup(vim.tbl_extend("force", common_config, configuration_overrides[lsp] or {}))
end
-- Lua bultin lsp
require("nlua.lsp.nvim").setup(lspconfig, vim.tbl_extend('force', common_config, {
-- Tell LSP which globals should be considered real
globals = {},
}))
require("nlua.lsp.nvim").setup(
lspconfig,
vim.tbl_extend("force", common_config, {
-- Tell LSP which globals should be considered real
globals = {},
})
)
-- Flutter tools
require("flutter-tools").setup({
lsp = common_config
lsp = common_config,
})

View File

@ -6,5 +6,5 @@ neovim 0.7.0
bat 0.18.3
awscli 2.2.44
java openjdk-17.0.2
rust 1.57.0
rust 1.60.0
lua 5.4.3