[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-matchit cdb9b90381 229/244: extra json support
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-matchit cdb9b90381 229/244: extra json support |
Date: |
Thu, 6 Jan 2022 02:59:03 -0500 (EST) |
branch: elpa/evil-matchit
commit cdb9b90381ac0a225b01fb99472f5b23b612eb6e
Author: Chen Bin <chenbin.sh@gmail.com>
Commit: Chen Bin <chenbin.sh@gmail.com>
extra json support
---
evil-matchit-simple.el | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/evil-matchit-simple.el b/evil-matchit-simple.el
index 98c0c57dc2..f9cb30b9d2 100644
--- a/evil-matchit-simple.el
+++ b/evil-matchit-simple.el
@@ -42,16 +42,16 @@ If it's t, use simple jump.")
(let (rlt)
(cond
- ;; code "(function(...) { ..."
- ;; code "} else {"
- ;; css-mode use characters ".:-"
- ((or (string-match-p "^[ \t]*[\(\}]?[.:_a-zA-Z0-9-]+.*{ *\\(\/\/.*\\)?$"
cur-line)
- (string-match-p "^[ \t]*[\(\}]?[.:_a-zA-Z0-9-]+.*{
*\\(\/\*[^/]*\*\/\\)?$" cur-line))
+ ;; code: function(...) { ...
+ ;; code: } else {'
+ ;; code: "jsonField": {
+ ;; Please note css-mode use characters ".:-"
+ ((string-match "^[ \t]*[\(\}]?[.:_a-zA-Z0-9\"-]+.*{
*\\(\/\/.*\\|\/\*[^/]*\*\/\\)?$" cur-line)
(setq rlt 1))
;; code "} if (...) {"
;; code "} else (...) {"
- ((and (string-match-p "^[ \t]*[\}]? \\(if\\|el[a-z]*\\) *.*{ *?$"
cur-line)
+ ((and (string-match "^[ \t]*[\}]? \\(if\\|el[a-z]*\\) *.*{ *?$" cur-line)
(not (eq (following-char) ?})))
(setq rlt 1))
@@ -60,7 +60,7 @@ If it's t, use simple jump.")
(save-excursion
(forward-line)
(setq cur-line (evilmi-sdk-curline))
- (if (string-match-p "^[ \t]*{ *$" cur-line)
+ (if (string-match "^[ \t]*{ *$" cur-line)
(setq rlt 2)))))
rlt))
- [nongnu] elpa/evil-matchit 80dc731ab7 237/244: clean code, (continued)
- [nongnu] elpa/evil-matchit 80dc731ab7 237/244: clean code, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 0be04f960f 049/244: use text objects v1.3.2, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 62cef4f91a 077/244: replace evil-jump-items v2.0, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 6390e9e06c 216/244: Silence byte-compiler, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit ae8fddea39 207/244: clean code, tdd for markdown, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 0fd65c463b 226/244: clean code&doc, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit ceec6a63b0 236/244: better algorithm to match bracket/brace in javascript, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 8c4f516265 238/244: Support matlab-mode, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 82c80786e5 240/244: jump between merge conflict markers, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 5c43939d01 212/244: Merge pull request #126 from neojski/more-ocaml-tests, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit cdb9b90381 229/244: extra json support,
ELPA Syncer <=
- [nongnu] elpa/evil-matchit d005e0465e 223/244: Merge pull request #130 from nbfalcon/bugfix/evilmi-sdk-simple-jump-whitespace, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit ce90eae4bd 243/244: typo, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit a0c5bd1fe8 230/244: support quote and export section in org file, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 9cdaddd55d 228/244: Merge pull request #132 from aaronjensen/require-evil-macros, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 8b71b42603 041/244: better support for sh and c/c++ v1.2.8, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 4846518b59 109/244: support rjsx-mode, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 0b0e6d61a6 119/244: clean code, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 8a10046f25 145/244: fix python issue, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 0d62d497d1 143/244: Fix typo, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 4435f3ada5 128/244: evil-matchit-org: add :results: :end: drawer, ELPA Syncer, 2022/01/06