diff options
| author | Matty Patatty <mattd@bugfuzz.com> | 2022-07-27 19:48:01 +1200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-27 07:48:01 +0000 |
| commit | 36ee4890c47a9de5789d6561b19ce36da8b766be (patch) | |
| tree | 7461933a4e15a430e2984c9fae2929c4a5a84823 | |
| parent | Update lockfile.json (diff) | |
| download | nvim-treesitter-36ee4890c47a9de5789d6561b19ce36da8b766be.tar nvim-treesitter-36ee4890c47a9de5789d6561b19ce36da8b766be.tar.gz nvim-treesitter-36ee4890c47a9de5789d6561b19ce36da8b766be.tar.bz2 nvim-treesitter-36ee4890c47a9de5789d6561b19ce36da8b766be.tar.lz nvim-treesitter-36ee4890c47a9de5789d6561b19ce36da8b766be.tar.xz nvim-treesitter-36ee4890c47a9de5789d6561b19ce36da8b766be.tar.zst nvim-treesitter-36ee4890c47a9de5789d6561b19ce36da8b766be.zip | |
highlights(php): highlight more string types and escapes (#3226)
| -rw-r--r-- | queries/php/highlights.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/queries/php/highlights.scm b/queries/php/highlights.scm index 44dfe2c55..84db3b5d6 100644 --- a/queries/php/highlights.scm +++ b/queries/php/highlights.scm @@ -112,10 +112,12 @@ [ (string) - (heredoc) + (encapsed_string) + (heredoc_body) + (nowdoc_body) (shell_command_expression) ; backtick operator: `ls -la` ] @string -(encapsed_string (escape_sequence) @string.escape) +(escape_sequence) @string.escape (boolean) @boolean (null) @constant.builtin |
