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, 2 insertions, 0 deletions
diff --git a/lexers/LexPowerShell.cxx b/lexers/LexPowerShell.cxx
index 00d79db83..bf1ee29d1 100644
--- a/lexers/LexPowerShell.cxx
+++ b/lexers/LexPowerShell.cxx
@@ -149,6 +149,8 @@ static void ColourisePowerShellDoc(Sci_PositionU startPos, Sci_Position length,
sc.SetState(SCE_POWERSHELL_OPERATOR);
} else if (IsAWordChar(sc.ch)) {
sc.SetState(SCE_POWERSHELL_IDENTIFIER);
+ } else if (sc.ch == '`') {
+ sc.Forward(); // skip next escaped character
}
}
}