diff options
| author | lfenzo <lfenzo@protonmail.com> | 2022-07-29 21:09:58 -0300 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-08-03 12:05:30 -0700 |
| commit | c784720917bacb6716ce35ef07d464f5da738dd7 (patch) | |
| tree | ba382230cf80e97ebdeee4e620e1f9231cb368ee /queries/lua | |
| parent | Correct previously edited docs file (diff) | |
| download | nvim-treesitter-c784720917bacb6716ce35ef07d464f5da738dd7.tar nvim-treesitter-c784720917bacb6716ce35ef07d464f5da738dd7.tar.gz nvim-treesitter-c784720917bacb6716ce35ef07d464f5da738dd7.tar.bz2 nvim-treesitter-c784720917bacb6716ce35ef07d464f5da738dd7.tar.lz nvim-treesitter-c784720917bacb6716ce35ef07d464f5da738dd7.tar.xz nvim-treesitter-c784720917bacb6716ce35ef07d464f5da738dd7.tar.zst nvim-treesitter-c784720917bacb6716ce35ef07d464f5da738dd7.zip | |
Split func/method definition from calls in several programming language queries
Diffstat (limited to 'queries/lua')
| -rw-r--r-- | queries/lua/highlights.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/lua/highlights.scm b/queries/lua/highlights.scm index 8c43fb7d8..92baba0f3 100644 --- a/queries/lua/highlights.scm +++ b/queries/lua/highlights.scm @@ -161,10 +161,10 @@ (parameters (identifier) @parameter) -(function_call name: (identifier) @function) +(function_call name: (identifier) @function.call) (function_declaration name: (identifier) @function) -(function_call name: (dot_index_expression field: (identifier) @function)) +(function_call name: (dot_index_expression field: (identifier) @function.call)) (function_declaration name: (dot_index_expression field: (identifier) @function)) (method_index_expression method: (identifier) @method) |
