From 2f1cb1119454a814058d2f54b3bba8b145b9e0c1 Mon Sep 17 00:00:00 2001 From: Charles Gueunet Date: Thu, 17 Mar 2022 14:13:40 +0100 Subject: [PATCH 1/2] CMake: fix comment highlight --- rc/filetype/cmake.kak | 1 + 1 file changed, 1 insertion(+) diff --git a/rc/filetype/cmake.kak b/rc/filetype/cmake.kak index cb5c65db..86fda25d 100644 --- a/rc/filetype/cmake.kak +++ b/rc/filetype/cmake.kak @@ -25,6 +25,7 @@ add-highlighter shared/cmake/argument region -recurse '\(' '\w+\h*\(\K' '(?=\))' add-highlighter shared/cmake/code/ regex '\w+\h*(?=\()' 0:meta add-highlighter shared/cmake/argument/args default-region regex '\$\{\w+\}' 0:variable +add-highlighter shared/cmake/argument/comment region '#' '$' fill comment add-highlighter shared/cmake/argument/quoted region '"' '(?