mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
update auto read after install mason
This commit is contained in:
parent
1331c98c58
commit
ed0be2a4db
2 changed files with 7 additions and 5 deletions
|
@ -27,10 +27,12 @@ local settings = {
|
||||||
}
|
}
|
||||||
|
|
||||||
require("mason").setup(settings)
|
require("mason").setup(settings)
|
||||||
require("mason-lspconfig").setup({
|
-- require("mason-lspconfig").setup({
|
||||||
ensure_installed = servers,
|
-- ensure_installed = servers,
|
||||||
automatic_installation = true,
|
-- automatic_installation = true,
|
||||||
})
|
-- })
|
||||||
|
-- sementara default terbaca langsung setelah diinstall
|
||||||
|
require("mason-lspconfig").setup()
|
||||||
|
|
||||||
local lspconfig_status_ok, lspconfig = pcall(require, "lspconfig")
|
local lspconfig_status_ok, lspconfig = pcall(require, "lspconfig")
|
||||||
if not lspconfig_status_ok then
|
if not lspconfig_status_ok then
|
||||||
|
|
|
@ -20,7 +20,7 @@ null_ls.setup({
|
||||||
formatting.stylua,
|
formatting.stylua,
|
||||||
-- formatting.eslint_d,
|
-- formatting.eslint_d,
|
||||||
formatting.google_java_format,
|
formatting.google_java_format,
|
||||||
formatting.phpcbf,
|
-- formatting.phpcbf,
|
||||||
-- formatting.clang_format,
|
-- formatting.clang_format,
|
||||||
-- diagnostics.flake8
|
-- diagnostics.flake8
|
||||||
-- diagnostics.eslint_d,
|
-- diagnostics.eslint_d,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue