diff options
| author | Ariel D'ALessandro <dalessandro.ariel@gmail.com> | 2021-08-15 21:45:57 +0200 |
|---|---|---|
| committer | Ariel D'ALessandro <dalessandro.ariel@gmail.com> | 2021-08-15 21:45:57 +0200 |
| commit | f9f6c482a15e9917d5a1d91122321303e001e8b9 (patch) | |
| tree | d0d7d6504eabe192f41ef0c473e53cc7c67e0687 | |
| parent | db374d30147503cf6132711aa00ecc835add9a01 (diff) | |
| download | nvim-conf-f9f6c482a15e9917d5a1d91122321303e001e8b9.tar.gz nvim-conf-f9f6c482a15e9917d5a1d91122321303e001e8b9.zip | |
add php queries
| -rw-r--r-- | after/queries/php/highligh.scm | 4 | ||||
| -rw-r--r-- | after/queries/php/indent.scm | 23 |
2 files changed, 27 insertions, 0 deletions
diff --git a/after/queries/php/highligh.scm b/after/queries/php/highligh.scm new file mode 100644 index 0000000..80be346 --- /dev/null +++ b/after/queries/php/highligh.scm @@ -0,0 +1,4 @@ +(class_constant_access_expression ( + (name) + (name) @keyboard +) ) diff --git a/after/queries/php/indent.scm b/after/queries/php/indent.scm new file mode 100644 index 0000000..34f6db2 --- /dev/null +++ b/after/queries/php/indent.scm @@ -0,0 +1,23 @@ +[ + (array_creation_expression) + (arguments) + (formal_parameters) + (compound_statement) + (declaration_list) + (binary_expression) + (return_statement) + (expression_steatement) +] @indent + +[ + "(" + ")" + "{" + "}" + "[" + "]" +] @branch + +[ + (comment) +] @ignore |