[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-nerd-commenter 118bebd02a 229/235: use github workflo
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-nerd-commenter 118bebd02a 229/235: use github workflows instead of travis ci |
Date: |
Thu, 6 Jan 2022 02:59:50 -0500 (EST) |
branch: elpa/evil-nerd-commenter
commit 118bebd02a489ddf5eee3ab6fb55b3ef37ebe6d4
Author: Chen Bin <chenbin.sh@gmail.com>
Commit: Chen Bin <chenbin.sh@gmail.com>
use github workflows instead of travis ci
---
.github/workflows/test.yml | 27 +++++++++++++++++++++++++++
README.org | 12 ++++++------
evil-nerd-commenter.el | 2 +-
3 files changed, 34 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000000..50d7a1ae2f
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,27 @@
+name: CI
+
+on: [push, pull_request]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ emacs_version:
+ - 25.3
+ - 26.3
+ - 27.1
+ - snapshot
+ steps:
+ - uses: purcell/setup-emacs@master
+ with:
+ version: ${{ matrix.emacs_version }}
+
+ - uses: actions/checkout@v2
+
+ - name: Print emacs version
+ run: emacs --version
+
+ - name: Run tests
+ run: make test
diff --git a/README.org b/README.org
index 8f5d2a8f76..7678a0e6c2 100644
--- a/README.org
+++ b/README.org
@@ -1,5 +1,5 @@
* evil-nerd-commenter
-[[https://travis-ci.org/redguardtoo/evil-nerd-commenter][https://travis-ci.org/redguardtoo/evil-nerd-commenter.svg?branch=master]]
+[[https://github.com/redguardtoo/evil-nerd-commenter/actions/workflows/test.yml][https://github.com/redguardtoo/evil-nerd-commenter/actions/workflows/test.yml/badge.svg]]
[[http://melpa.org/#/evil-nerd-commenter][file:http://melpa.org/packages/evil-nerd-commenter-badge.svg]]
[[http://stable.melpa.org/#/evil-nerd-commenter][file:http://stable.melpa.org/packages/evil-nerd-commenter-badge.svg]]
@@ -9,7 +9,7 @@ A [[http://www.vim.org/scripts/script.php?script_id=1218][Nerd
Commenter]] emula
I recommend using it with Evil though Evil is optional.
-Tested on Emacs 24.4, 24.5, 25.3, 26.1
+Tested on Emacs 25, 26, 27, 28
* Why?
** A simple use case on the efficiency
@@ -224,7 +224,7 @@ if(flag==true){ doSomething(); }
#+END_SRC
The first line is production code. The second line is your debug code. You
want to invert the comment status of these two lines (for example, comment out
first line and uncomment the second line) for debug purpose.
-All you need to is =M-x evilnc-toggle-invert-comment-line-by-line= then =C-u 2
evilnc-comment-or-uncomment-lines=. The first command turn on some flag, so the
behavior of (un)commenting is different.
+All you need to is =M-x evilnc-toggle-invert-comment-line-by-line= then =C-u 2
evilnc-comment-or-uncomment-lines=. The first command turn on some flag, so the
behaviour of (un)commenting is different.
* Evil usage
If you use [[http://emacswiki.org/emacs/Evil][Evil]], you can use
[[http://vimdoc.sourceforge.net/htmldoc/motion.html#text-objects][text objects
and motions]]. But if you only *deals with lines*, I suggest using
=evilnc-comment-or-uncomment-lines= instead.
** commenter text object "c"
@@ -234,7 +234,7 @@ Press =vac= to select outer object (comment with limiters).
Press =vic= to select inner object (comment without limiter).
-You can assign other key instead of "c" to the text object by customizing
=evilnc-comment-text-object=.
+You can assign other key instead of "c" to the text object by customising
=evilnc-comment-text-object=.
** evilnc-comment-operator
=evilnc-comment-operator= acts much like the delete/change operator. Takes a
motion or text object and comments it out, yanking its content in the process.
@@ -284,10 +284,10 @@ Most popular programming languages are supported.
You can set up =evilnc-original-above-comment-when-copy-and-comment= to decide
which style to use when =evilnc-copy-and-comment-lines= or
=evilnc-copy-and-comment-operator=,
- Place the commented out text above original text
- Or place the original text above commented out text
-** Customize comment style
+** Customise comment style
Most commands call =evilnc-comment-or-uncomment-region-function=.
-You can modify this variable to customize the comment style.
+You can modify this variable to customise the comment style.
#+begin_src elisp
(with-eval-after-load 'evil-nerd-commenter
diff --git a/evil-nerd-commenter.el b/evil-nerd-commenter.el
index cb9fa955fd..54477f7391 100644
--- a/evil-nerd-commenter.el
+++ b/evil-nerd-commenter.el
@@ -4,7 +4,7 @@
;; URL: http://github.com/redguardtoo/evil-nerd-commenter
;; Version: 3.5.4
-;; Package-Requires: ((emacs "24.4"))
+;; Package-Requires: ((emacs "25.1"))
;; Keywords: convenience evil
;;
;; This file is not part of GNU Emacs.
- [nongnu] elpa/evil-nerd-commenter 1bd2de5201 214/235: Merge pull request #111 from duchainer/patch-outdated-link-emacswiki, (continued)
- [nongnu] elpa/evil-nerd-commenter 1bd2de5201 214/235: Merge pull request #111 from duchainer/patch-outdated-link-emacswiki, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 87734b9c7f 218/235: clean code, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 6ed6f9ea82 215/235: clean code, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter b670f69b64 221/235: add emacs27 to ci, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 2401d871ad 217/235: use GPL version 3, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 8809dccfdb 223/235: user can customize comment style, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 9e7e969719 226/235: try stay put when comment in evil visual line state, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 563cdc154b 222/235: fix typo and add unit test for web-mode, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 5535be5421 227/235: (line . column), ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter c0f49e4e87 228/235: fixed minor issue, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 118bebd02a 229/235: use github workflows instead of travis ci,
ELPA Syncer <=
- [nongnu] elpa/evil-nerd-commenter c48a95c3ff 234/235: feat: support .tsx files, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter ba535606b4 003/235: add a use case, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 188a475cfc 013/235: Merge branch 'master' of github.com:redguardtoo/evil-nerd-commenter, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 64ee33dac4 022/235: insert live demo link into README, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 1cec61caac 038/235: Removed redundant double information, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 1f32941bce 047/235: v1.2.0, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 3ab19bfa4e 052/235: updated README, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter c41c462d50 065/235: clean the doc v1.2.8, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter d11aab5454 071/235: tweak README, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter b976b45063 073/235: fixed regression bug in 1.3.0, v1.3.1, ELPA Syncer, 2022/01/06