powershell-ts-mode


Introducing powershell-ts-mode: a mode for editing powershell files using emacs and treesitter. This includes support for syntax highlighting, imenu, indentation and more. The old powershell-mode has some bugs with handling multi-line comments (ex: “<#/n###>”) and strings (ex: “\”). This fixes those and offers more robust handling by using treesitter instead of regexes for parsing/syntax highlighting.

For more information (including installation instructions see here: https://github.com/dmille56/powershell-ts-mode).