From 5aa0614a592c510d4be2c8a3a88839e1bc612ae7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Tue, 30 May 2023 15:20:23 -0300 Subject: [PATCH] kakoune: remove dotdrop highlighter --- user/kakoune/filetypes.kak | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/user/kakoune/filetypes.kak b/user/kakoune/filetypes.kak index ab702f3..6377d1d 100644 --- a/user/kakoune/filetypes.kak +++ b/user/kakoune/filetypes.kak @@ -41,26 +41,6 @@ hook global BufCreate .*\.vue %{ } } -# Highlight Dotdrop templating syntax -hook global WinCreate .* %{ - require-module python - add-highlighter window/dotdrop regions - - add-highlighter window/dotdrop/expression region '\{\{@[@]' '[@]@\}\}' group - add-highlighter window/dotdrop/statement region '\{%@[@]' '[@]@%\}' group - add-highlighter window/dotdrop/comment region '\{#@[@]' '[@]@#\}' fill comment - - add-highlighter window/dotdrop/expression/ fill variable - add-highlighter window/dotdrop/statement/ fill variable - - add-highlighter window/dotdrop/expression/ ref python - add-highlighter window/dotdrop/statement/ ref python - - add-highlighter window/dotdrop/expression/ regex '\{\{@[@]|[@]@\}\}' 0:block - add-highlighter window/dotdrop/statement/ regex '\{%@[@]|[@]@%\}' 0:block - add-highlighter window/dotdrop/statement/ regex 'endfor|endif' 0:keyword -} - hook global BufCreate .*\.jsonc %[ set buffer filetype jsonc ] hook global BufCreate .*\.blade.php %[ set buffer filetype blade ] hook global BufCreate .*\.less %[ set buffer filetype less ]