From ae0dd313bdb418b6944ce77b44023c7fb31b9000 Mon Sep 17 00:00:00 2001 From: Binh Tran Date: Thu, 22 May 2025 20:52:51 +0700 Subject: [PATCH] fix(highlights/ini): make consistency with toml (#13589) --- runtime/queries/ini/highlights.scm | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/runtime/queries/ini/highlights.scm b/runtime/queries/ini/highlights.scm index 6277a0676..70e649a11 100644 --- a/runtime/queries/ini/highlights.scm +++ b/runtime/queries/ini/highlights.scm @@ -1,6 +1,15 @@ -(section_name) @namespace - -(setting_name) @keyword -(setting_value) @string +(section_name + (text) @type) (comment) @comment + +[ + "[" + "]" +] @punctuation.bracket + +"=" @operator + +(setting + (setting_name) @variable.other.member + (setting_value) @string)