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

nvim: php: set proper names for custom treesitter highligt tags

This commit is contained in:
Henrik Hautakoski 2024-12-31 09:53:41 +01:00
parent a01174218c
commit 7f81196612
2 changed files with 17 additions and 15 deletions

View file

@ -201,12 +201,14 @@ local options = {
-- PHP
["@keyword.import.php"] = { link = "@keyword" },
["@class_name.php"] = { link = "@text" },
["@extend_name.php"] = { link = "@text" },
["@implement_name.php"] = { link = "@text" },
["@namespace_name.php"] = { link = "@text" },
["@namespace_alias.php"] = { link = "@text" },
["@function.builtin.php"] = { fg = colors.blue },
["@class.name.php"] = { link = "@text" },
["@class.inherit.name.php"] = { link = "@text" },
["@class.implements.name.php"] = { link = "@text" },
["@interface.name.php"] = { link = "@text" },
["@namespace.name.php"] = { link = "@text" },
["@namespace.alias.name.php"] = { link = "@text" },
["@use.trait.name.php"] = { link = "@text" },
-- Blade
["@tag.blade"] = { fg = colors.mauve },