From 8a56748e88a1ecf6cd72f531591b8a684c3233f9 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 12 Jun 2022 20:41:40 +0200 Subject: [PATCH] Add functions indents --- queries/indents.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/queries/indents.scm b/queries/indents.scm index 7c134a6..d3e978d 100644 --- a/queries/indents.scm +++ b/queries/indents.scm @@ -24,6 +24,18 @@ ")" @branch ; }}} +; Functions and methods {{{ +(parameters) @indent + +(function_call) @indent +(method_call) @indent +")" @branch + +(function_declaration) @indent +(primitive_declaration) @indent +(method_declaration) @indent +; }}} + ; Misc{{{ (comment) @ignore (string_literal) @ignore