From a9e51972a94a5efdc9e6e68e57b6bafa4c97d395 Mon Sep 17 00:00:00 2001 From: asep komarudin Date: Mon, 6 Mar 2023 11:50:21 +0700 Subject: [PATCH] update --- lazy-lock.json | 2 +- lua/core/config.lua | 2 +- lua/custom/default.lua | 2 +- lua/user/lsp/mason.lua | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index fef41cc..ee431c4 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -45,7 +45,7 @@ "nvim-ts-autotag": { "branch": "main", "commit": "fdefe46c6807441460f11f11a167a2baf8e4534b" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "729d83ecb990dc2b30272833c213cc6d49ed5214" }, "nvim-ts-rainbow": { "branch": "master", "commit": "ef95c15a935f97c65a80e48e12fe72d49aacf9b9" }, - "nvim-web-devicons": { "branch": "master", "commit": "c3c1dc4e36969370ff589b7025df8ec2e5c881a2" }, + "nvim-web-devicons": { "branch": "master", "commit": "b2060eac2fbc84e0637ea706378ff66451e7c424" }, "plenary.nvim": { "branch": "master", "commit": "253d34830709d690f013daf2853a9d21ad7accab" }, "smart-splits.nvim": { "branch": "master", "commit": "52b521618511b3a874255c8a717ace7155fd5f21" }, "symbols-outline.nvim": { "branch": "master", "commit": "512791925d57a61c545bc303356e8a8f7869763c" }, diff --git a/lua/core/config.lua b/lua/core/config.lua index bf228ff..1c50f9d 100644 --- a/lua/core/config.lua +++ b/lua/core/config.lua @@ -29,7 +29,7 @@ config = { model = opt("model", 1), format_on_save = opt("format_on_save", 1), lsp_installer = opt("lsp_installer", {}), - register_lsp = opt("register_lsp", {}), + mason_ensure_installed = opt("mason_ensure_installed", {}), unregister_lsp = opt("unregister_lsp", {}), null_ls_sources = opt("null_ls_sources", {}), whichkey = opt("whichkey", {}), diff --git a/lua/custom/default.lua b/lua/custom/default.lua index 6e0c339..adfc456 100644 --- a/lua/custom/default.lua +++ b/lua/custom/default.lua @@ -78,7 +78,7 @@ vim.g.pcode_lsp_installer = { } -- untuk referesi support language kunjungi link dibawah -- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md -vim.g.pcode_register_lsp = { +vim.g.pcode_mason_ensure_installed = { -- sebelumnya register_lsp "yamlls", -- "intelephense", -- "marksman", diff --git a/lua/user/lsp/mason.lua b/lua/user/lsp/mason.lua index e7777ed..f5ea632 100644 --- a/lua/user/lsp/mason.lua +++ b/lua/user/lsp/mason.lua @@ -13,7 +13,7 @@ end local data_exists, custom_lsp = pcall(require, "core.config") if data_exists then - for _, client in pairs(custom_lsp.register_lsp) do + for _, client in pairs(custom_lsp.mason_ensure_installed) do table.insert(servers, client) end end