added pwsh services

This commit is contained in:
Kontrol 2026-07-04 15:16:34 -03:00
parent 0a55a7ca9c
commit 455a5a252c
1 changed files with 6 additions and 3 deletions

View File

@ -619,7 +619,9 @@ do
terraformls = {},
ansiblels = {},
jinja_lsp = {},
hclfmt = {},
powershell_es = {
bundle_path = vim.fn.stdpath('data') .. '/mason/packages/powershell-editor-services',
},
stylua = {}, -- Used to format Lua code
-- Special Lua Config, as recommended by neovim help docs
@ -651,7 +653,7 @@ do
---@type lspconfig.settings.lua_ls
settings = {
Lua = {
format = { enable = false }, -- Disable formatting (formatting is done by stylua)
format = { enable = true }, -- Disable formatting (formatting is done by stylua)
},
},
},
@ -701,7 +703,8 @@ do
local enabled_filetypes = {
go = true,
hcl = true,
-- lua = true,
ps1 = true,
lua = true,
-- python = true,
}
if enabled_filetypes[vim.bo[bufnr].filetype] then