Skip to content

mimmanuel/nvim-treesitter-powershell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Treesitter configuration for Powershell parser

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

Install

use ({ 'mimmanuel/nvim-treesitter-powershell', 
        requires = {'nvim-treesitter/nvim-treesitter'}
})

How to use

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

Dependencies

The tree-sitter-cli must be installed to use the parser.

npm install tree-sitter-cli

About

Parser config and queries for use with neovim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published