diff --git a/evil-matchit-sdk.el b/evil-matchit-sdk.el index f9a4e21..c39203d 100644 --- a/evil-matchit-sdk.el +++ b/evil-matchit-sdk.el @@ -40,8 +40,12 @@ (defvar evilmi-ignored-fonts '(web-mode-html-attr-value-face + tree-sitter-hl-face:string + tree-sitter-hl-face:doc + tree-sitter-hl-face:comment font-lock-string-face font-lock-doc-face + font-lock-comment-delimiter-face font-lock-comment-face) "Text with ignored fonts has no string keyword.") @@ -123,11 +127,13 @@ If font-face-under-cursor is NOT nil, the quoted string is being processed." (cond ;; @see https://github.com/redguardtoo/evil-matchit/issues/92 ((eq major-mode 'tuareg-mode) - (evilmi-sdk-font-p pos '(font-lock-comment-face + (evilmi-sdk-font-p pos '(tree-sitter-hl-face:comment + font-lock-comment-face font-lock-comment-delimiter-face font-lock-doc-face))) (t - (evilmi-sdk-font-p pos '(font-lock-comment-face + (evilmi-sdk-font-p pos '(tree-sitter-hl-face:comment + font-lock-comment-face font-lock-comment-delimiter-face))))) (defun evilmi-sdk-defun-p () diff --git a/evil-matchit.el b/evil-matchit.el index cc30f35..fe55c73 100644 --- a/evil-matchit.el +++ b/evil-matchit.el @@ -4,7 +4,7 @@ ;; Author: Chen Bin ;; URL: http://github.com/redguardtoo/evil-matchit -;; Version: 3.0.1 +;; Version: 3.0.2 ;; Keywords: matchit vim evil ;; Package-Requires: ((emacs "25.1")) ;; @@ -325,7 +325,7 @@ If IS-INNER is t, the region is inner text object." (defun evilmi-version() "Print version." (interactive) - (message "3.0.1")) + (message "3.0.2")) ;; initialize evilmi-plugins only once (evilmi-init-plugins) diff --git a/pkg.sh b/pkg.sh index 6e7ece5..db239f4 100755 --- a/pkg.sh +++ b/pkg.sh @@ -1,6 +1,6 @@ #!/bin/bash name=evil-matchit -version=3.0.1 +version=3.0.2 pkg=$name-$version mkdir $pkg cp README.org $pkg