mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 19:07:44 +03:00
Add PowerShell highlighting (#9827)
This commit is contained in:
parent
e27b04735c
commit
301dfb07cc
4 changed files with 191 additions and 0 deletions
|
@ -3259,3 +3259,17 @@ indent = { tab-width = 4, unit = " " }
|
|||
[[grammar]]
|
||||
name = "fidl"
|
||||
source = { git = "https://github.com/google/tree-sitter-fidl", rev = "bdbb635a7f5035e424f6173f2f11b9cd79703f8d" }
|
||||
|
||||
[[language]]
|
||||
name = "powershell"
|
||||
scope = "source.powershell"
|
||||
injection-regex = "(pwsh|powershell)"
|
||||
file-types = [ "ps1", "psm1", "psd1", "pscc", "psrc" ]
|
||||
shebangs = [ "pwsh", "powershell" ]
|
||||
comment-token = '#'
|
||||
block-comment-tokens = { start = "<#", end = "#>" }
|
||||
indent = { tab-width = 4, unit = " " }
|
||||
|
||||
[[grammar]]
|
||||
name = "powershell"
|
||||
source = { git = "https://github.com/airbus-cert/tree-sitter-powershell", rev = "c9316be0faca5d5b9fd3b57350de650755f42dc0" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue