Made for personal use
Contains
- parser configuration
- Very limited syntax highlighting
Parser: https://github.com/PowerShell/tree-sitter-PowerShell
NOTE: Uses this pull-request until it gets merged PowerShell/tree-sitter-PowerShell#7
use ({ 'mimmanuel/nvim-treesitter-powershell',
requires = {'nvim-treesitter/nvim-treesitter'}
})
To use add this to your neovim config
local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
parser_config.PowerShell = require("ts-powershell").parser_config
Use command
TSInstall PowerShell
The tree-sitter-cli must be installed to use the parser.
npm install tree-sitter-cli