aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-07-18Add fullscreen param to vis_pipe_collect() and Lua API vis:pipe()Jörg Bakker10-18/+34
This enables restoring the terminal from a fullscreen command like curses based program. Use cases are e.g. a file picker based on some external program like nnn (https://github.com/jarun/nnn).
2023-07-18fix warning about field width not being an intRandy Palamar1-4/+4
this slipped through in commit 6be370d
2023-07-17Print keybindings containing space correctlyMax Schillinger1-2/+22
Fixes #1060 - :help doesn't display mappings starting with <Space> correctly Co-authored-by: Randy Palamar <palamar@ualberta.ca>
2023-07-16partial revert of commit f55312baJohn Vogel1-1/+2
text_paragraph_prev(): Bring back the previous usage of text_iterator_byte_get() in the while conditional and text_iterator_char_prev() in the loop body. Fixes #1028 - { moves back a paragraph too much if cursor at start of line
2023-06-22Lua API: allow nil in vis:pipe() File and Range parametersJörg Bakker1-5/+13
2023-06-22allow underscore (_) in command namesRandy Palamar1-1/+1
fixes #971
2023-06-21build: simplify generating single payloadChristian Hesse1-1/+1
We can make `od` skip the address radix, so `sed` does not need to remove it.
2023-06-09ci: update checkout action to v3Randy Palamar6-6/+6
2023-06-09ci: don't generate man/index.html symlinkRandy Palamar1-1/+1
this seems to be broken if the actor isn't the owner of the repository
2023-06-09vis-clipboard: don't fail when sel is primary on unsupported platformsRandy Palamar2-5/+2
this is mostly useful for the internal vis usage and makes both `*` and `+` registers work on macOS/cygwin. fixes: #1067
2023-06-08ci: strip owner name regardless of actorRandy Palamar1-1/+1
2023-06-08reword the :[v]split and :[v]new descriptions in vis.1Randy Palamar1-6/+6
(horizontally) and (vertically) were kept to be consistent with the 'v' mnemonic and with the enum labels in the code.
2023-06-08ci: fetch mandoc.css from release tarballRandy Palamar1-1/+1
this is more stable than grabbing from the CVS web interface
2023-06-06Limit to lines within range for inner text objectsMiles Canfield1-0/+3
2023-06-05vis-clipboard: add support for wayclipOwen Rafferty1-1/+16
2023-05-28remove unused vis_message_hide() functionRandy Palamar2-9/+0
the message window gets closed like a normal window and nothing calls this function. In fact, it wasn't even used when it was added 8 years ago in 979ab79.
2023-05-28fix use after free in cmd_files()Randy Palamar1-4/+6
When the cmd closes the window the window pointer gets freed along the way. We can't use win->next to update the loop variable if sam_execute() has been called. Instead we can store win->next early and use that variable to continue the loop. fixes #1090
2023-05-25vis-clipboard: make xsel honor --selectionNick Hanley1-2/+2
2023-05-25ci: fix authentication by using GITHUB_TOKENRandy Palamar2-2/+2
2023-05-24Fix luadoc to use ~= for statusAndrey Proskurin1-1/+1
2023-05-23update test submoduleFelix Van der Jeugt1-5/+23
2023-05-23vis.1: list equivalent key bindings on the same lineRandy Palamar1-4/+2
it is hard to tell which line <C-u> and <C-d> are supposed to belong to in the current version. see #1033
2023-05-23ci: remove deprecated ubuntu-18.04 and switch to ubuntu-latestRandy Palamar1-8/+2
ubuntu-latest is supposed to track the newest supported ubuntu release which as of now is 22.04. 18.04 has been deprecated for a while and seems like it has finally been removed: https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/
2023-05-23build: update alpine in docker build to version 3.18Christian Hesse2-2/+2
Just a version bump, no changes required.
2023-05-23vis-complete: Fix commandline options handlingQuentin Rameau2-18/+34
2023-05-22check for EOF before unsetting row, col & line cache in view_coord_getJeremy Bobbin1-1/+2
This commit fixes c22b2c2, which introduced a bug when the EOF was in view.
2023-03-19build: update alpine in docker build to version 3.17Christian Hesse2-2/+4
This requires one extra package, as static liblzma (liblzma.a) was moved to xz-static.
2023-03-19vis: remove unused Arg union memberNick Hanley1-1/+0
This was missed when pairwise selection combinators were removed in 404bb95..d1d5853.
2023-03-19don't set _FORTIFY_SOURCE in configureRandy Palamar2-1/+2
distributions that want this flag set do so on a system wide level. for example Gentoo, Fedora, Debian, and OpenSUSE. since vis sets it when invoking cc via make it overwrites the system setting (and pollutes the output with redefinition warnings). For reference here is the related bug in Gentoo: https://bugs.gentoo.org/892960
2023-03-19fix bug where visual-line selections after view were considered visibleJeremy Bobbin2-1/+2
prior to this patch, if you had a visual-line selection after the view, and try to move it(& all other selections) up into the buffer, the selection would appear prematurely. https://github.com/martanne/vis/issues/1074
2023-03-19implement Selection:remove()Jeremy Bobbin2-0/+14
2023-03-19lua: Make luacheck happyMatěj Cepl2-2/+2
2023-02-13update changelogFelix Van der Jeugt1-0/+4
2023-02-13vis-open: further improvement & clean-uppmnw2-33/+28
2023-02-12Do tilde expansion only for the tilde character at the beginning of the pattern.Matěj Cepl1-1/+5
2023-02-12Correct initial value of 'syntax' option, which is not 'off'Matěj Cepl1-1/+1
2023-02-12text-io: close "cwd" in all casesSilvan Jegen1-2/+3
2022-12-10Add CHANGELOG.md based on the GitHub releases.Matěj Cepl1-0/+307
2022-12-10Add dealing with error value from fchdir in text-io.cMatěj Cepl1-1/+2
2022-11-29vis-menu: use `void' to indicate an empty parameter listTom Schwindl1-2/+2
2022-11-29make vis-open and vis-complete more POSIX compliantTom Schwindl2-6/+4
This commit combines 3 commits: - vis-open: `local' is not part of POSIX (Author: Tom Schwindl <schwindl@posteo.de>) - More POSIXisation. (Author: Matěj Cepl <mcepl@cepl.eu>) - Clean up of vis-complete as well. (Author: Matěj Cepl <mcepl@cepl.eu>)
2022-11-29lua/lexers: add gleam lexertynanbe1-0/+3
2022-11-29fix miscellaneous spelling mistakesNick Hanley17-41/+41
2022-11-29Resync the lexers with Scintilluaqiu-x155-12225/+9559
- Resync the lexers with Scintillua - Update the lexer readme - Update `zenburn` theme to fix some highlighting issues - lexers: redirect print function to vis:info() - Fix support for custom style names - As per error message "lexer.delimited_range() is deprecated, use lexer.range()". - Remove remaining `lexer.delimited_range()` call - Set syntax to `nil` if the file type has no matching lexer - Updated Go lexer for Go 1.18. - lexers/dsv: convert to new lexer format (cherry picked from commit 9edbc3cd9ea1d7142b1305840432a3d2739e755a) - lexers/gemini: disable legacy gemini lexer This reverts commit 468f9ee1b027a7ce98b1a249fa1af5888feeb989. It is in legacy format and of questionable quality. Ideally it should be contributed upstream from where it will eventually trickle down to us. - lexers/git-rebase: convert to new lexer format (cherry picked from commit 4000a4cc9ac4a4c2869dfae772b977a82aee8d8c) - lexers/strace: convert to new lexer format (cherry picked from commit e420451320d97eb164f5629c1bcfab0b595be29d) - lexers/typescript: add new upstream lexer revision 28e2b60 (cherry picked from commit 7326e6deecdaa75fa94ae9ebdb653f9f907b33f2) - use `package.searchpath` instead of a local `searchpath` function - Restore `filetype: support filetype detection via hashbang` - Remove redundant comment - Restore gemini lexer
2022-11-29add a basic .editorconfig fileFelix Van der Jeugt1-0/+12
Partially written by mcepl, to avoid patches modifying style.
2022-11-01Set version to 0.8-gitFelix Van der Jeugt3-4/+4
2022-08-27wl-paste and wl-copy should not add \n to the end of the clipboard.Matěj Cepl1-2/+2
2022-08-19Revert "vis-lua: support themes in vis:message"Evan Gates1-5/+1
This reverts commit 22d4709e8a30c8feb9b4da7d78e0ea6a57af83e8. erf mentioned[0] that this change broke a plugin. Revert for now until have time to implement it without that bug. [0] https://github.com/martanne/vis/issues/1034
2022-08-15Add filetype detection for SPEC file for RPM packages building.Matěj Cepl1-0/+3
2022-08-15Update used OSes for GitHub ActionsMatěj Cepl3-2/+6
* Switch off failing Windows tests * MacOS 10.15 is going away: https://github.blog/changelog/2022-07-20-github-actions-the-macos-10-15-actions-runner-image-is-being-deprecated-and-will-be-removed-by-8-30-22/