style(vim): format the lsp config
This commit is contained in:
parent
a7a99e16d0
commit
2755f69cd8
1 changed files with 3 additions and 3 deletions
|
|
@ -11,8 +11,8 @@ local servers = {
|
||||||
-- Language servers for the day to day web development, could probably think
|
-- Language servers for the day to day web development, could probably think
|
||||||
-- about loosing the html and css one and living with typescript, rescript
|
-- about loosing the html and css one and living with typescript, rescript
|
||||||
-- and emmet
|
-- and emmet
|
||||||
ts_ls = { enabled = has_file("tsconfig.json") },
|
ts_ls = { enabled = has_file "tsconfig.json" },
|
||||||
denols = { enabled = has_file("deno.json") or has_file("deno.jsonc") },
|
denols = { enabled = has_file "deno.json" or has_file "deno.jsonc" },
|
||||||
html = {},
|
html = {},
|
||||||
cssls = {},
|
cssls = {},
|
||||||
marksman = {},
|
marksman = {},
|
||||||
|
|
@ -110,7 +110,7 @@ for lsp, config in pairs(servers) do
|
||||||
lspconfig[lsp].setup(config)
|
lspconfig[lsp].setup(config)
|
||||||
end
|
end
|
||||||
|
|
||||||
require("ionide").setup({ on_attach = on_attach, capabilities = capabilities })
|
require("ionide").setup { on_attach = on_attach, capabilities = capabilities }
|
||||||
|
|
||||||
-- Change the diagnostic signs
|
-- Change the diagnostic signs
|
||||||
vim.fn.sign_define("DiagnosticSignHint", { text = "", texthl = "DiagnosticSignHint", numhl = "DiagnosticSignHint" })
|
vim.fn.sign_define("DiagnosticSignHint", { text = "", texthl = "DiagnosticSignHint", numhl = "DiagnosticSignHint" })
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue