mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 15:30:01 -04:00
17 lines
399 B
Nix
17 lines
399 B
Nix
|
|
{
|
||
|
|
func1 = param: builtins.readFile param;
|
||
|
|
# ^ @function
|
||
|
|
# ^ @parameter
|
||
|
|
# ^ @constant.builtin
|
||
|
|
# ^ @function.builtin
|
||
|
|
func2 = { p1, p2 }: p2;
|
||
|
|
# ^ @function
|
||
|
|
# ^ @parameter
|
||
|
|
readFile' = readFile;
|
||
|
|
# ^ @function.builtin
|
||
|
|
x = func1 ./path/to/file.nix;
|
||
|
|
# ^ @field
|
||
|
|
# ^ @function.call
|
||
|
|
# ^ @string.special
|
||
|
|
}
|