Skip to content

Commit

Permalink
fixed snapshot ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen Bin committed Feb 16, 2024
1 parent 6722a76 commit 2d08884
Show file tree
Hide file tree
Showing 25 changed files with 32 additions and 38 deletions.
2 changes: 1 addition & 1 deletion evil-matchit-c.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-c.el -- C like language (c/c++/perl/java/javascript) plugin of evil-matchit
;;; evil-matchit-c.el -- C like language (c/c++/perl/java/javascript) plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2014-2020 Chen Bin

Expand Down
2 changes: 1 addition & 1 deletion evil-matchit-cmake.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-cmake.el --- cmake plugin of evil-matchit
;;; evil-matchit-cmake.el --- cmake plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2014-2020 Chen Bin

Expand Down
2 changes: 1 addition & 1 deletion evil-matchit-diff.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-diff.el -- diff-mode plugin of evil-matchit
;;; evil-matchit-diff.el -- diff-mode plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2014-2020 Chen Bin

Expand Down
2 changes: 1 addition & 1 deletion evil-matchit-elixir.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-elixir.el --- elixir plugin of evil-matchit
;;; evil-matchit-elixir.el --- elixir plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2018-2020 Chen Bin

Expand Down
2 changes: 1 addition & 1 deletion evil-matchit-fortran.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-fortran.el --- fortran plugin of evil-matchit
;;; evil-matchit-fortran.el --- fortran plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2014-2020 Chen Bin

Expand Down
2 changes: 1 addition & 1 deletion evil-matchit-html.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-html.el --- html plugin of evil-matchit
;;; evil-matchit-html.el --- html plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2014-2020 Chen Bin

Expand Down
7 changes: 2 additions & 5 deletions evil-matchit-indent.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-indent.el --- indent algorithm for evil-matchit
;;; evil-matchit-indent.el --- indent algorithm for evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2021 Chen Bin

Expand Down Expand Up @@ -51,9 +51,7 @@ It returns regexp to match the line candidate.")

(defun evilmi-indent-next-nonempty-line ()
"Return next non-empty line content or nil."
(let* ((b (line-beginning-position))
(e (line-end-position))
(cur-pos (point))
(let* ((e (line-end-position))
(continue t)
line
rlt)
Expand All @@ -63,7 +61,6 @@ It returns regexp to match the line candidate.")
(setq line (evilmi-sdk-curline))
(cond
((string-blank-p line)
(setq b (line-beginning-position))
(setq e (line-end-position))
(forward-line))
(t
Expand Down
2 changes: 1 addition & 1 deletion evil-matchit-javascript.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-javascript.el --- simple match plugin of evil-matchit
;;; evil-matchit-javascript.el --- simple match plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2014-2020 Chen Bin

Expand Down
2 changes: 1 addition & 1 deletion evil-matchit-latex.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-latex.el --- latex plugin of evil-matchit
;;; evil-matchit-latex.el --- latex plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2014-2020 Chen Bin

Expand Down
2 changes: 1 addition & 1 deletion evil-matchit-markdown.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-markdown.el --- markdown-mode plugin of evil-matchit
;;; evil-matchit-markdown.el --- markdown-mode plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2014-2020 Chen Bin

Expand Down
2 changes: 1 addition & 1 deletion evil-matchit-octave.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-octave.el --- octave plugin of evil-matchit
;;; evil-matchit-octave.el --- octave plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2020 Chen Bin

Expand Down
7 changes: 2 additions & 5 deletions evil-matchit-org.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-org.el --- org-mode plugin of evil-matchit
;;; evil-matchit-org.el --- org-mode plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2014-2021 Chen Bin

Expand Down Expand Up @@ -86,8 +86,7 @@ Sub-match is the match defined between '\\(' and '\\)' in regular expression.")
"Jump to the matching tag using INFO and NUM."
(cond
((< (car info) 0)
(let* (ideal-dest
jumped
(let* (jumped
info
(lang-f (evilmi--get-embedded-language-major-mode))
(plugin (and lang-f (plist-get evilmi-plugins lang-f))))
Expand All @@ -96,8 +95,6 @@ Sub-match is the match defined between '\\(' and '\\)' in regular expression.")
(lambda (elem)
(setq info (funcall (nth 0 elem)))
(when (and info (not jumped))
;; before jump, we may need some operation
(setq ideal-dest (funcall (nth 1 elem) info num))
;; jump only once if the jump is successful
(setq jumped t)))
plugin))))
Expand Down
2 changes: 1 addition & 1 deletion evil-matchit-prog.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-prog.el --- all programming languages plugin of evil-matchit
;;; evil-matchit-prog.el --- all programming languages plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2021 Chen Bin

Expand Down
2 changes: 1 addition & 1 deletion evil-matchit-python.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-python.el --- python plugin of evil-matchit
;;; evil-matchit-python.el --- python plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2014-2020 Chen Bin

Expand Down
2 changes: 1 addition & 1 deletion evil-matchit-ruby.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-ruby.el --- ruby plugin of evil-matchit
;;; evil-matchit-ruby.el --- ruby plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2014-2020 Chen Bin

Expand Down
2 changes: 1 addition & 1 deletion evil-matchit-script.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-script.el --- script (vimrc/lua) plugin of evil-matchit
;;; evil-matchit-script.el --- script (vimrc/lua) plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2014-2020 Chen Bin

Expand Down
3 changes: 2 additions & 1 deletion evil-matchit-sdk.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-sd.el --- evil-matchit SDK
;;; evil-matchit-sd.el --- evil-matchit SDK -*- lexical-binding: t; -*-

;; Copyright (C) 2014-2022 Chen Bin

Expand Down Expand Up @@ -437,6 +437,7 @@ Rule is looked up in HOWTOS."
"Use RLT, NUM, MATCH-TAGS and HOWTOS to jump.
Return nil if no matching tag found. Please note (point) is changed
after calling this function."
(ignore num)
(let* ((orig-tag-info (nth 1 rlt))
(orig-tag-type (nth 1 orig-tag-info))
cur-tag-type
Expand Down
2 changes: 1 addition & 1 deletion evil-matchit-sh.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-sh.el --- sh (bash/zsh) plugin of evil-matchit
;;; evil-matchit-sh.el --- sh (bash/zsh) plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2014-2020 Chen Bin

Expand Down
8 changes: 3 additions & 5 deletions evil-matchit-simple.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-simple.el --- simple match plugin of evil-matchit
;;; evil-matchit-simple.el --- simple match plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2014-2021 Chen Bin

Expand Down Expand Up @@ -70,8 +70,7 @@ If it's t, use simple jump.")
((and (apply 'derived-mode-p evilmi-simple-supported-major-modes)
(evilmi-sdk-defun-p))
(let* ((tokens (evilmi-sdk-tokens 5))
tag
info)
tag)
(when (and tokens
(> (length tokens) 1)
(setq tag
Expand Down Expand Up @@ -142,8 +141,7 @@ If it's t, use simple jump.")
;;;###autoload
(defun evilmi-simple-get-tag ()
"Get current tag in simple language."
(let* (forward-line-num
(ch (evilmi-simple-following-char))
(let* ((ch (evilmi-simple-following-char))
rlt)

(cond
Expand Down
2 changes: 1 addition & 1 deletion evil-matchit-sql.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-sql.el --- sql plugin of evil-matchit
;;; evil-matchit-sql.el --- sql plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2014-2020 Chen Bin

Expand Down
2 changes: 1 addition & 1 deletion evil-matchit-template.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-template.el --- web template plugin of evil-matchit
;;; evil-matchit-template.el --- web template plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2014-2020 Chen Bin

Expand Down
2 changes: 1 addition & 1 deletion evil-matchit-terminal.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-terminal.el --- terminal plugin of evil-matchit
;;; evil-matchit-terminal.el --- terminal plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2020 Chen Bin

Expand Down
5 changes: 3 additions & 2 deletions evil-matchit-verilog.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-verilog.el --- verilog plugin of evil-matchit
;;; evil-matchit-verilog.el --- verilog plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2014-2020 Chen Bin

Expand Down Expand Up @@ -133,7 +133,8 @@
"Use INFO returned by `evilmi-verilog-get-tag' and NUM to jump to matched tag."
(when info
(let* ((orig-keyword (evilmi-sdk-keyword (cadr info))))
(if evilmi-debug (message "evilmi-verilog-jump called => %s" info))
(when evilmi-debug
(message "evilmi-verilog-jump called => %s %s" info orig-keyword))
(evilmi-sdk-jump info
num
evilmi-verilog-match-tags
Expand Down
2 changes: 1 addition & 1 deletion evil-matchit-yaml.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit-yaml.el --- yaml plugin of evil-matchit
;;; evil-matchit-yaml.el --- yaml plugin of evil-matchit -*- lexical-binding: t; -*-

;; Copyright (C) 2014-2020 Chen Bin

Expand Down
2 changes: 1 addition & 1 deletion evil-matchit.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; evil-matchit.el --- Vim matchit ported to Evil
;;; evil-matchit.el --- Vim matchit ported to Evil -*- lexical-binding: t; -*-

;; Copyright (C) 2014-2020 Chen Bin

Expand Down

0 comments on commit 2d08884

Please sign in to comment.