mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 04:50:03 -04:00
16 lines
399 B
Nix
16 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
|
|
}
|