Skip to content

mason-lspconfig - Add Docs In init.lua #2121

Description

@mattcargile

Before Reporting an Issue

  • I have read the kickstart.nvim README.md.

  • I have read the appropriate plugin's documentation.

  • I have searched that this issue has not been reported before.

  • I have ran :checkhealth and so no obvious issue.

  • By checking this, I confirm that the above steps are completed. I understand leaving this unchecked will result in this report being closed immediately.

Describe the bug

powershell_es lsp didn't readily work with "empty" config like powershell_es = {},. Could we add the setup command for mason-lspconfig. It is required. Otherwise, I get the below error in lsp.log.

[ERROR][2026-07-10 20:58:57] ...ps/neovim/current/share/nvim/runtime/lua/vim/lsp/log.lua:150    "rpc"   "pwsh"  "stderr"        "\27[31;1m&: \27[31;1mThe term 'nil/PowerShellEditorServices/Start-EditorServices.ps1' is not recognized as a name of a cmdlet, function, script file, or executable program.\27[0m\r\n"
[ERROR][2026-07-10 20:58:57] ...ps/neovim/current/share/nvim/runtime/lua/vim/lsp/log.lua:150    "rpc"   "pwsh"  "stderr"        "\27[31;1m\27[31;1mCheck the spelling of the name, or if a path was included, verify that the path is correct and try again.\27[0m\r\n"

To Reproduce

  1. Add powershell_es = {}, to the servers table.
  2. Open file.ps1

Workaround

  require("mason-lspconfig").setup()

Desktop

  • OS: Windows
  • Terminal: Windows Terminal

Neovim Version

NVIM v0.12.4
Build type: Release
LuaJIT 2.1.1774638290

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions