aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexPowerShell.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lexers/LexPowerShell.cxx')
-rw-r--r--lexers/LexPowerShell.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexPowerShell.cxx b/lexers/LexPowerShell.cxx
index 2416ab0d4..2b5c53fff 100644
--- a/lexers/LexPowerShell.cxx
+++ b/lexers/LexPowerShell.cxx
@@ -30,7 +30,7 @@ using namespace Scintilla;
// Extended to accept accented characters
static inline bool IsAWordChar(int ch) {
- return ch >= 0x80 || isalnum(ch) || ch == '-';
+ return ch >= 0x80 || isalnum(ch) || ch == '-' || ch == '_';
}
static void ColourisePowerShellDoc(unsigned int startPos, int length, int initStyle,