From 44deddbbfe92d0c50ce8e0fa2918f4ae0d8cc60f Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Sat, 20 Jun 2020 05:49:20 +0200 Subject: [PATCH] Highlight pacman hooks as ini --- src/syntax_mapping.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/syntax_mapping.rs b/src/syntax_mapping.rs index a0df412c..0b1feb82 100644 --- a/src/syntax_mapping.rs +++ b/src/syntax_mapping.rs @@ -72,6 +72,9 @@ impl<'a> SyntaxMapping<'a> { .unwrap(); } + // pacman hooks + mapping.insert("*.hook", MappingTarget::MapTo("INI")).unwrap(); + mapping }