1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-17 11:30:02 +02:00

big nvim update. maybe broke something

This commit is contained in:
Henrik Hautakoski 2024-03-10 10:36:20 +01:00
parent 1e68462bc1
commit 8a39a1b88a
32 changed files with 531 additions and 195 deletions

View file

@ -1,23 +0,0 @@
; inherits: php_only
; php tags should be tagged as preprocessor tokens
(php_tag) @preproc
; Tag names in class definition as regular text.
(class_declaration [
name: (name) @text
(base_clause (name) @text)
(class_interface_clause (name) @text)
])
; tag "use" traits as text
(use_declaration (name) @text)
; tag namespace classes in "use" as text
(namespace_use_declaration (namespace_use_clause [
(qualified_name [
(name) @text
(namespace_name_as_prefix (namespace_name (name) @text))
])
(namespace_aliasing_clause (name) @text)
]))