Idk why * doesnt configure all lsps

This commit is contained in:
2025-05-08 11:22:54 +02:00
parent e825fc4f27
commit 77303404df

View File

@@ -47,6 +47,8 @@ return {
-- lua
vim.lsp.config("lua_ls", {
capabilities = capabilities,
on_attach = on_attach,
settings = {
Lua = {
hint = {
@@ -87,6 +89,8 @@ return {
-- python
vim.lsp.config("pyright", {
capabilities = capabilities,
on_attach = on_attach,
before_init = function(_, config)
local python_path = get_python_path(config.root_dir)
if python_path == nil then
@@ -130,6 +134,8 @@ return {
-- powershell
vim.lsp.config("powershell_es", {
capabilities = capabilities,
on_attach = on_attach,
bundle_path = vim.fn.stdpath("data") .. "/mason/packages/powershell-editor-services",
})