From 84284338980187521ef861f2232a1b7a32afb0ee Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 5 Nov 2017 21:25:49 +0100 Subject: [PATCH] lang/sh: tweak interpolation + builtin fontification --- modules/lang/sh/config.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/lang/sh/config.el b/modules/lang/sh/config.el index 8948145d3..6a78ed628 100644 --- a/modules/lang/sh/config.el +++ b/modules/lang/sh/config.el @@ -33,12 +33,12 @@ ;; 3. Fontify built-in/common commands (see `+sh-builtin-keywords') (font-lock-add-keywords 'sh-mode `((+sh--match-variables-in-quotes - (1 'default prepend) + (1 'font-lock-constant-face prepend) (2 'font-lock-variable-name-face prepend)) (+sh--match-command-subst-in-quotes (1 'sh-quoted-exec prepend)) (,(regexp-opt +sh-builtin-keywords 'words) - (0 'font-lock-builtin-face append)))) + (0 'font-lock-type-face append)))) ;; autoclose backticks (sp-local-pair 'sh-mode "`" nil :unless '(sp-point-before-word-p sp-point-before-same-p))