From 70013f5174706e8609b2f779f85316ad9fbca64b Mon Sep 17 00:00:00 2001 From: Adam Christiansen Date: Sun, 8 May 2022 11:04:46 -0600 Subject: [PATCH] Fix gitignore highlighter glob handling Fixes the handling of multiple backslashes before gitignore * and ? glob patterns. Adds character classes to gitignore highlighting. Co-authored-by: Johannes Altmanninger --- rc/filetype/git.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/git.kak b/rc/filetype/git.kak index bc19b180..062acde1 100644 --- a/rc/filetype/git.kak +++ b/rc/filetype/git.kak @@ -53,7 +53,7 @@ add-highlighter shared/git-commit/comments/ regex "\b(?:(modified)|(deleted)|(ne provide-module git-ignore %{ add-highlighter shared/git-ignore group -add-highlighter shared/git-ignore/glob regex '(?