Fix stylua errors
parent
fd96c6afc2
commit
0a583cf540
|
@ -31,5 +31,5 @@ end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
capabilities = capabilities
|
capabilities = capabilities,
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,19 +11,19 @@ local configuration_overrides = {
|
||||||
flags = {
|
flags = {
|
||||||
-- Slow Godot LS
|
-- Slow Godot LS
|
||||||
debounce_text_changes = 600,
|
debounce_text_changes = 600,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
omnisharp = {
|
omnisharp = {
|
||||||
cmd = {
|
cmd = {
|
||||||
vim.fn.glob("$HOME") .. "/lsp/dotnet/omnisharp/run",
|
vim.fn.glob("$HOME") .. "/lsp/dotnet/omnisharp/run",
|
||||||
"--languageserver",
|
"--languageserver",
|
||||||
"--hostPID",
|
"--hostPID",
|
||||||
tostring(vim.fn.getpid())
|
tostring(vim.fn.getpid()),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
lemminx = {
|
lemminx = {
|
||||||
cmd = { 'lemminx' }
|
cmd = { "lemminx" },
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Lsp default language servers
|
-- Lsp default language servers
|
||||||
|
@ -52,16 +52,19 @@ local servers = {
|
||||||
"zls",
|
"zls",
|
||||||
}
|
}
|
||||||
for _, lsp in ipairs(servers) do
|
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
|
end
|
||||||
|
|
||||||
-- Lua bultin lsp
|
-- Lua bultin lsp
|
||||||
require("nlua.lsp.nvim").setup(lspconfig, vim.tbl_extend('force', common_config, {
|
require("nlua.lsp.nvim").setup(
|
||||||
-- Tell LSP which globals should be considered real
|
lspconfig,
|
||||||
globals = {},
|
vim.tbl_extend("force", common_config, {
|
||||||
}))
|
-- Tell LSP which globals should be considered real
|
||||||
|
globals = {},
|
||||||
|
})
|
||||||
|
)
|
||||||
|
|
||||||
-- Flutter tools
|
-- Flutter tools
|
||||||
require("flutter-tools").setup({
|
require("flutter-tools").setup({
|
||||||
lsp = common_config
|
lsp = common_config,
|
||||||
})
|
})
|
||||||
|
|
|
@ -6,5 +6,5 @@ neovim 0.7.0
|
||||||
bat 0.18.3
|
bat 0.18.3
|
||||||
awscli 2.2.44
|
awscli 2.2.44
|
||||||
java openjdk-17.0.2
|
java openjdk-17.0.2
|
||||||
rust 1.57.0
|
rust 1.60.0
|
||||||
lua 5.4.3
|
lua 5.4.3
|
||||||
|
|
Loading…
Reference in New Issue