mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-26 10:48:40 +02:00
update
This commit is contained in:
parent
1848afb610
commit
11bdca1d21
2 changed files with 13 additions and 11 deletions
|
@ -1,6 +1,7 @@
|
||||||
-- untuk referesi support language kunjungi link dibawah
|
-- untuk referesi support language kunjungi link dibawah
|
||||||
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
|
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
|
||||||
local M = {
|
local M = {
|
||||||
|
lspreg = {
|
||||||
"bashls",
|
"bashls",
|
||||||
"yamlls",
|
"yamlls",
|
||||||
"jdtls",
|
"jdtls",
|
||||||
|
@ -11,5 +12,6 @@ local M = {
|
||||||
"dartls",
|
"dartls",
|
||||||
"kotlin_language_server",
|
"kotlin_language_server",
|
||||||
-- tambahkan di bawah sini setelah melakukan :MasonInstall
|
-- tambahkan di bawah sini setelah melakukan :MasonInstall
|
||||||
|
},
|
||||||
}
|
}
|
||||||
return M
|
return M
|
||||||
|
|
|
@ -10,7 +10,7 @@ local servers = {
|
||||||
|
|
||||||
local data_exists, custom_lsp = pcall(require, "custom.register_lsp")
|
local data_exists, custom_lsp = pcall(require, "custom.register_lsp")
|
||||||
if data_exists then
|
if data_exists then
|
||||||
for _, client in pairs(custom_lsp) do
|
for _, client in pairs(custom_lsp.lspreg) do
|
||||||
table.insert(servers, client)
|
table.insert(servers, client)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue