fix(pack): docker-language-server to dockerls#1707
fix(pack): docker-language-server to dockerls#1707jay-babu wants to merge 3 commits intoAstroNvim:mainfrom
Conversation
Review ChecklistDoes this PR follow the [Contribution Guidelines](development guidelines)? Following is a partial checklist: Proper conventional commit scoping:
|
1 similar comment
Review ChecklistDoes this PR follow the [Contribution Guidelines](development guidelines)? Following is a partial checklist: Proper conventional commit scoping:
|
{
"williamboman/mason-lspconfig.nvim",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
-- filter out the kotlin_language_server if it is already installed
opts.ensure_installed = vim.tbl_filter(
function(server) return server ~= "kotlin_language_server" end,
opts.ensure_installed
)
opts.ensure_installed = vim.tbl_filter(function(server) return server ~= "sqls" end, opts.ensure_installed)
table.insert(opts.ensure_installed, "tsp_server")
end,
config = function(_, opts)
require("mason-lspconfig").setup(opts)
end,
},I really don't know why but my mason-lspconfig setup function is not running till I manually added the config function. This is likely why no one has seen this error for 7 months as this is when this was committed. As soon as I did it started running again. |
Maybe I'm doing wrong, but on a clean install of nvim, I got
On my clean config, without you fix, I got |
|
I think it's my fault here. Since astronvim v5 uses mason-lspconfig v1, which doesn't have So, need to probably hotpatch mason-lspconfig to recognize the new There is some confusion here in the thread between |
|
Here's an example of hotpatching (thanks to mehalter for providing this technique): astrocommunity/lua/astrocommunity/pack/oxlint/init.lua Lines 23 to 42 in 9ee60b5 |
No description provided.