Skip to content

Commit 1e3f8f9

Browse files
authored
Add 'pwsh' alias to Powershell lexer (#2239)
1 parent 8fa209d commit 1e3f8f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rouge/lexers/powershell.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class Powershell < RegexLexer
88
title 'powershell'
99
desc 'powershell'
1010
tag 'powershell'
11-
aliases 'posh', 'microsoftshell', 'msshell'
11+
aliases 'posh', 'microsoftshell', 'msshell', 'pwsh'
1212
filenames '*.ps1', '*.psm1', '*.psd1', '*.psrc', '*.pssc'
1313
mimetypes 'text/x-powershell'
1414

0 commit comments

Comments
 (0)