diff options
Diffstat (limited to 'lua/lexers/powershell.lua')
| -rw-r--r-- | lua/lexers/powershell.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/lexers/powershell.lua b/lua/lexers/powershell.lua index f499cdb..5ed99bd 100644 --- a/lua/lexers/powershell.lua +++ b/lua/lexers/powershell.lua @@ -1,4 +1,4 @@ --- Copyright 2015-2022 Mitchell. See LICENSE. +-- Copyright 2015-2024 Mitchell. See LICENSE. -- PowerShell LPeg lexer. -- Contributed by Jeff Stone. @@ -57,4 +57,6 @@ lex:add_rule('operator', token(lexer.OPERATOR, S('=!<>+-/*^&|~.,:;?()[]{}%`'))) -- Fold points. lex:add_fold_point(lexer.OPERATOR, '{', '}') +lexer.property['scintillua.comment'] = '#' + return lex |
