mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-22 13:20:09 -04:00
feat: add snakemake rules to locals
This commit is contained in:
parent
99487eb34a
commit
8d3982ec52
2 changed files with 7 additions and 3 deletions
|
|
@ -16,15 +16,15 @@
|
|||
|
||||
; Imports
|
||||
(aliased_import
|
||||
alias: (identifier) @local.definition.import)
|
||||
alias: (identifier) @local.definition.import) @local.scope
|
||||
|
||||
(import_statement
|
||||
name: (dotted_name
|
||||
(identifier) @local.definition.import))
|
||||
(identifier) @local.definition.import)) @local.scope
|
||||
|
||||
(import_from_statement
|
||||
name: (dotted_name
|
||||
(identifier) @local.definition.import))
|
||||
(identifier) @local.definition.import)) @local.scope
|
||||
|
||||
; Function with parameters, defines parameters
|
||||
(parameters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue