Updating all files to use stylua

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2023-08-31 12:14:37 +02:00
parent 4e07e36ca7
commit 2eaafbc10e
27 changed files with 788 additions and 737 deletions

View File

@@ -1,36 +1,36 @@
local mason_status, mason = pcall(require, "mason")
if not mason_status then
return
return
end
local mason_lspconfig_status, mason_lspconfig = pcall(require, "mason-lspconfig")
if not mason_lspconfig_status then
return
return
end
local mason_null_ls_status, mason_null_ls = pcall(require, "mason-null-ls")
if not mason_null_ls_status then
return
return
end
mason.setup()
mason_lspconfig.setup({
ensure_installed = {
"tsserver",
"html",
"cssls",
"lua_ls",
"pyright",
},
automatic_installation = true,
ensure_installed = {
"tsserver",
"html",
"cssls",
"lua_ls",
"pyright",
},
automatic_installation = true,
})
mason_null_ls.setup({
ensure_installed = {
"stylua",
"clang_format",
"eslint_d",
},
automatic_installation = true,
ensure_installed = {
"stylua",
"clang_format",
"eslint_d",
},
automatic_installation = true,
})