mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
highlights(tiger): fix captures
This commit is contained in:
parent
04e560490d
commit
353538d570
4 changed files with 7 additions and 11 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import "lib.tih"
|
||||
/* <- keyword */
|
||||
/* <- include */
|
||||
/* ^ string.special */
|
||||
/* vim: set ft=tiger: */
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ let
|
|||
/* <- keyword.function */
|
||||
|
||||
import "lib.tih"
|
||||
/* <- keyword */
|
||||
/* <- include */
|
||||
|
||||
type array_of_int = array of int
|
||||
/* <- keyword */
|
||||
|
|
|
|||
|
|
@ -12,13 +12,13 @@ let
|
|||
var a := 12
|
||||
|
||||
method meth() : int = self.a
|
||||
/* <- method */
|
||||
/* <- keyword.function */
|
||||
/* ^ method */
|
||||
/* ^ variable.builtin */
|
||||
}
|
||||
|
||||
var object := new B
|
||||
/* ^ constructor */
|
||||
/* ^ keyword.operator */
|
||||
in
|
||||
object.a := 27;
|
||||
/* ^ property */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue