diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-07-17 02:55:15 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-07-19 12:41:35 -0700 |
commit | f9c2a77c67754324f3036ec79501c6131d19562b (patch) | |
tree | de4c2cf1bf4e23cf04c55a4280e98b7b91cfd8a4 /highlight.cpp | |
parent | 92099c7af23d0cebf52f89de4f9d829825e53ac8 (diff) |
Next stab at abbreviations. Highlighting should work.
Diffstat (limited to 'highlight.cpp')
-rw-r--r-- | highlight.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/highlight.cpp b/highlight.cpp index 265fd40a..60660438 100644 --- a/highlight.cpp +++ b/highlight.cpp @@ -1106,6 +1106,9 @@ static void tokenize(const wchar_t * const buff, std::vector<int> &color, const if (! is_cmd && use_function) is_cmd = function_exists_no_autoload(cmd, vars); + if (! is_cmd) + is_cmd = expand_abbreviation(cmd, NULL); + /* Moving on to expensive tests */ |