From 2dc9ce68ec84fd26e1489e3bac76fc5114d0023e Mon Sep 17 00:00:00 2001 From: Jaakko Paju Date: Mon, 19 Feb 2024 01:46:13 +0200 Subject: Add textobject queries for Nix (#9659) * Add textobject queries for Nix * Add to lang-support.md--- runtime/queries/nix/textobjects.scm | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 runtime/queries/nix/textobjects.scm (limited to 'runtime') diff --git a/runtime/queries/nix/textobjects.scm b/runtime/queries/nix/textobjects.scm new file mode 100644 index 00000000..1508d4c2 --- /dev/null +++ b/runtime/queries/nix/textobjects.scm @@ -0,0 +1,9 @@ +(comment) @comment.inside +(comment)+ @comment.around + +(formals + ((_) @parameter.inside . ","? @parameter.around) @parameter.around) + +(function_expression + body: (_) @function.inside) @function.around + -- cgit v1.2.3-70-g09d2