summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-03-25Fix testsHEADmasterTom Dalziel
2024-03-25evil-surround.el: replace looking-at with looking-at-pKonstantin Kharlamov
We don't use the match-data in the function, so let's call the non-mutating version of `looking-back`
2024-03-25treewide: add "lexical-binding" directiveKonstantin Kharlamov
Fixes a bunch of warnings like: test/elpa.el:1:1: Warning: file has no ‘lexical-binding’ directive on its first line
2023-12-13Fix some grammar quirks in readme.orgNate Eagleson
2023-09-17Return an empty range from evil-surround-editTom Dalziel
This fixes a bug with evil-cleverparens where evil-cp-delete tries to call evil-delete with the range, deleting too much text if the point isn't on the opening paren.
2023-09-12Fix get-delims to allow functions as valuesTom Dalziel
2023-09-12Trim whitespace from delimeters before using for deletion/changeTom Dalziel
Fixes #204
2023-08-19Revert "Revert "Enable lexical binding""StrawberryTea
This reverts commit 4a21d756b76a50e0c0619555836c9aa98f103d3d.
2023-08-13Make car + cdr safe for delete overlaysTom Dalziel
2023-08-13Restore old deletion strategy as backupTom Dalziel
2023-08-13Support multiple-character delimiter deletionTom Dalziel
Fixes #199
2023-06-27Revert "Enable lexical binding"Tom Dalziel
This reverts commit 2d878b6ccefe0f39216a178cefdc3f0fa2aa7fef.
2023-06-27Silence byte-compiler warningsBrian Leung
2023-06-27Enable lexical bindingBrian Leung
2022-12-29Merge pull request #188 from skangas/nongnu-elpa-fixesTom Dalziel
NonGNU ELPA fixes: license statement + bump version
2022-12-29Update maintainer for NonGNU ELPATom Dalziel
2022-05-04Revert "Merge pull request #191 from dalanicolai/master"Tom Dalziel
This reverts commit 123b30135bcb181d00e351d714263eaa137ae10b, reversing changes made to 2bc8aa6425f1311e985cf51ea6b5233c1ee6ce1c.
2022-05-03Merge pull request #191 from dalanicolai/masterTom Dalziel
Limit global activation to 'text-mode' and 'prog-mode'
2022-04-17Limit global activation to text-, prog- and comint-modeDaniel Nicolai
Activating evil-surround in special-mode (i.e. read-only) buffers does not make sense. Furthermore, the bindings can overwrite bindings in modes like magit-diff-mode (see https://github.com/syl20bnr/spacemacs/issues/15448#issuecomment-1090810486). This commit limits the 'globally activated modes' to (modes derived from) text-, prog- and comint-mode via the `define-globalized-minor-mode` its [:predicate](https://www.gnu.org/software/emacs/manual/html_node/elisp/Defining-Minor-Modes.html#index-define_002dglobalized_002dminor_002dmode] keyword. As this should be the default behavior, it is not essential to change/update the documentation.
2022-04-12Merge pull request #186 from leungbk/prefix-callsTom Dalziel
Add support for surrounding with function calls in prefix form
2022-04-12Merge pull request #190 from MintSoup/masterTom Dalziel
Fix visual screen-line surrounding bug.
2022-04-09Fix visual screen-line surrounding bug.Areg
2022-01-06Bump version to 1.0.4Stefan Kangas
2022-01-06Fix license statementStefan Kangas
2022-01-02Add support for surrounding with function calls in prefix formBrian Leung
2021-11-08Typo fixjgart
2021-06-15Fix yss behavior with visual-line-modeAreg
- Respect evil-respect-visual-line-mode
2021-06-15update make emacsFilipe Correa Lima da Silva
2021-06-02fix make emacsFilipe Correa Lima da Silva
2020-06-03Fix dot repeat with counted motions1.1.1develYiming Chen
- rel: #133
2020-05-24remove emacs 24 and 25 from the build pipelineninrod
2020-05-24fix typos in the readmeninrod
2020-05-24trying to update travis configurationninrod
- here I am using evil's travis configuration.
2020-05-24Add surround text objects from local keymap (#165)itai33
* add local keymap support * add tests for local keymap * document local keymap support in readme
2019-12-17merge @jamesnvc PRs #160 and #1621.1.0ninrod
- fix some bugs in macro use cases: #161 and #159
2019-12-15Fix repeating tag changesJames N. V. Cash
To make repeating tag changes, need to record the output from the reading the new tag
2019-12-15Checking minibuffer window doesn't seem to make a difference eitherJames N. V. Cash
2019-12-13Remove apparently-unnecessary run-at-timeJames N. V. Cash
Fixes issue when surrounding with a tag from a macro
2019-12-13Add a test for surrounding with a tag in a macroJames N. V. Cash
Not using `evil-test-buffer`, as it doesn't seem to play well with this kind of testing a kbd macro. Also slightly different from the already-present tests for surrounding with tags, because it does additional things after wrapping -- without the included change, this surrounds with a `<div>` tag, but also inserts the following keys as well, instead of treating them as commands.
2019-10-13main el file: add dots and caps to evil-surround-tag-name-redeviantfero
tests: add tests for caps and dots support in tag names
2019-04-03optionally keep xml attrs: add more tests1.0.4ninrod
2019-04-03optionally keep xml attributestam5
2019-04-02add a "make emacs" makefile option to fire up a clean emacs...ninrod
- ...environment with just evil and evil-surround - additionally, alter readme to include a first CONTRIBUTING section draft.
2018-12-18main el file: fix version to 1.0.3Filipe Silva
2018-12-16add csw, csW, css and csp shortcuts1.0.3tam5
2018-12-16update readme: copyright yearsFilipe Silva
2018-12-16tweak implementation file headerFilipe Silva
2018-11-06add license fileFilipe Correa Lima da Silva
2018-11-06readme: add missing link to `define-and-bind-text-object` macro1.0.2Filipe Correa Lima da Silva
2018-10-20Fix visible narrowing when surrounding within a field (#135)Lionel Henry
* Fix visible narrowing when surrounding within a field * Test that buffer is widened before reading char