From bd42c2c9c115db3ce0d019ce374344e96e250c0f Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 3 Jun 2022 20:30:45 +0200 Subject: [PATCH] Move 'literals' high-lighting to end of file Once again, seems like order matters, and I want to be able to write more specific queries. --- queries/highlights.scm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/queries/highlights.scm b/queries/highlights.scm index 8fff33b..25f10db 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -33,13 +33,6 @@ ] @keyword ; }}} -; Literals {{{ -(nil_literal) @constant.builtin -(integer_literal) @number -(string_literal) @string -(escape_sequence) @string.escape -; }}} - ; Operators {{{ (operator) @operator @@ -72,6 +65,13 @@ name: (identifier) @variable.parameter) ; }}} +; Literals {{{ +(nil_literal) @constant.builtin +(integer_literal) @number +(string_literal) @string +(escape_sequence) @string.escape +; }}} + ; Misc {{{ (comment) @comment