This commit is contained in:
asep komarudin 2023-02-19 14:54:38 +07:00
parent 1848afb610
commit 11bdca1d21
2 changed files with 13 additions and 11 deletions

View file

@ -1,6 +1,7 @@
-- untuk referesi support language kunjungi link dibawah
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
local M = {
lspreg = {
"bashls",
"yamlls",
"jdtls",
@ -11,5 +12,6 @@ local M = {
"dartls",
"kotlin_language_server",
-- tambahkan di bawah sini setelah melakukan :MasonInstall
},
}
return M

View file

@ -10,7 +10,7 @@ local servers = {
local data_exists, custom_lsp = pcall(require, "custom.register_lsp")
if data_exists then
for _, client in pairs(custom_lsp) do
for _, client in pairs(custom_lsp.lspreg) do
table.insert(servers, client)
end
end