From c13e123096dfab02aecce7737b39a5c8940a832f Mon Sep 17 00:00:00 2001 From: Alex Leferry 2 Date: Fri, 17 Jan 2020 23:37:17 +0100 Subject: [PATCH] Give an explicit name to the Crystal highlighter --- rc/filetype/crystal.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/crystal.kak b/rc/filetype/crystal.kak index ed7a235a..839830f8 100644 --- a/rc/filetype/crystal.kak +++ b/rc/filetype/crystal.kak @@ -8,7 +8,7 @@ hook global BufCreate '.*\.cr' %{ hook global WinSetOption filetype=crystal %{ require-module crystal evaluate-commands set-option window static_words %opt(crystal_keywords) %opt(crystal_attributes) %opt(crystal_objects) - add-highlighter window/ ref crystal + add-highlighter window/crystal ref crystal hook -group crystal window InsertChar '\n' crystal-new-line-inserted hook -always -once window WinSetOption filetype=.* %{ remove-highlighter window/crystal