aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-02-20ci: add man page generationMarc André Tanner1-0/+38
2020-02-20ci: add windows buildsMarc André Tanner1-0/+52
2020-02-20ci: add macOS buildsMarc André Tanner1-0/+50
2020-02-20ci: add ubuntu buildsMarc André Tanner1-0/+56
2020-02-20test: updateMarc André Tanner1-5/+5
2020-02-13ci: add sourcehut build manifestsMarc André Tanner4-0/+69
2020-02-13test: updateMarc André Tanner1-9/+5
2020-02-12sam: support optional count for text commandsMarc André Tanner2-14/+26
The text given for the a, i and c commands can be prefixed with an optional count indicating how often the text should be inserted, defaults to 1.
2020-02-12sam: move parse_number code, no functional changeMarc André Tanner1-9/+9
2020-02-11lexers: fix TOML comments not being detectedRandy1-1/+1
`operator` variable matches "#", leaving nothing for the comments rule to match. Since "#" only marks comments in TOML, I just went ahead and removed the character from the `operator` token.
2020-02-11lexers: remove TOML indent errorRandy1-4/+0
According to the TOML github page[1], indentation can be tabs *and/or* spaces, so `indent_error` is removed. [1] https://github.com/toml-lang/toml#example
2020-02-10vis-lua: avoid string memory leaks in error caseMarc André Tanner1-6/+3
The function lua_pushstring can throw an error, meaning it will setjmp(3) out thereby leaking the allocated memory. By using lua_newuserdata we let Lua free the memory during a GC run.
2020-02-10vis: omit error message when vis-menu(1) is cancelledMarc André Tanner1-1/+1
2020-02-10vis-menu: use distinct error code upon cancelling selectionMarc André Tanner2-6/+7
The following exit statuses are used: 0 an item was successfully selected 1 the selection was cancelled >1 failure, some error occured
2020-02-10lexers: add git rebase lexerMarc André Tanner2-0/+53
2020-02-10filetype: highlight column 72 in git commit messagesMarc André Tanner1-0/+4
2020-02-10lexers: ruby squiggly heredocsKelsey Judson1-1/+1
2020-02-09filetype: add more Prolog filename extensionsKarl Schultheisz1-1/+1
2020-02-07vis: restore mode when dot-repeatingGeorgi Kirilov1-0/+1
2020-02-07lua: add <plugin>/init.lua to package.pathGeorgi Kirilov1-2/+4
2020-02-07build: improve debug flagsMarc André Tanner1-1/+1
Make macro definitions and enums available to debugger.
2020-02-07doc: update release numberMarc André Tanner1-1/+1
2020-02-07Merge branch 'lexer-c' of https://github.com/zsugabubus/visMarc André Tanner1-16/+42
2020-02-07Merge branch 'fix-cc-cell' of https://github.com/zsugabubus/visMarc André Tanner1-5/+6
2020-02-04vis: make core code more robustMarc André Tanner3-30/+69
The core vis code was originally written under the assumption that there always exists at least one window. However, when being called from the Lua configuration file during start up this is not yet the case. In general, Lua code should always be placed within appropriate event handlers e.g. vis.events.INIT for global configuration. Invoking API functions depending on an active window from top level statements is not supported. Where before the editor simply crashed, these changes turn such code sections into NOPs. Fix #561
2020-02-03array: make array_sort work for empty arraysMarc André Tanner1-1/+2
2020-02-03build: properly kill docker containerChristian Hesse1-3/+6
We keep a running docker container in the background. If the build process fails this becomes dangling. Make sure the container is properly killed.
2020-02-03vis: improve <C-n> in visual modeMarc André Tanner1-1/+37
If the existing primary selection is not a word, switch to a literal search. This should still avoid unwanted prefix matches (e.g. when renaming related variables) but allow searching for arbitrary regions. Fix #746
2020-02-03vis: simplify selections_match_nextMarc André Tanner1-15/+15
Introduce utility function to create new anchored, primary selection.
2020-02-03build: explicitly specify working directory for dockerMarc André Tanner1-2/+2
Otherwise the config.mk file generated by ./configure does not end up in the source tree and has no effect. Our Makefile does currently not support out of tree builds. Previously this worked because the WORKDIR within the Dockerfile was set to the vis source (and build) directory.
2020-02-02lexers: also apply 7e9e0a2 to html and wsf lexersMarc André Tanner3-18/+5
Adapt in_tag to surrounding coding stlye and use the same simplified version in html, wsf and xml lexers.
2020-01-31lexers: XML performance improvementGeorgi Kirilov1-7/+1
the new pattern does more or less the same thing, but forward instead of backward.
2020-01-31Merge branch 'case-visual-mode' of https://github.com/erf/visMarc André Tanner1-0/+2
2020-01-31lexers: add reference to new upstream locationMarc André Tanner1-1/+2
2020-01-31lexers: fix crash in rst lexerMarc André Tanner1-1/+1
Fix #665
2020-01-30main: fix a few mistakes in commentsTwoFinger1-6/+6
2020-01-30view: Fix a @param name in a commentTwoFinger1-1/+1
2020-01-30vis: Fix a few :help stringsTwoFinger1-10/+10
2020-01-30man: fix mandoc linting warningsMarc André Tanner2-5/+5
These are reported by: mandoc -T lint
2020-01-30man: fix skipping empty macro warningsMarc André Tanner1-43/+43
2020-01-30man: fix mandoc warnings as reported by make manMarc André Tanner1-22/+26
2020-01-30build: explicitly list configure options for docker buildsMarc André Tanner1-1/+4
This should catch Alpine package changes such as the one fixed in 0ba252f08e9ef7b62c442eb91b36822d654f5b04.
2020-01-30build: cleanup docker package installationMarc André Tanner1-4/+18
2020-01-30build: allow to replace dockerChristian Hesse1-10/+11
This allows to build with docker-compatible container engine: make DOCKER=podman docker
2020-01-30build: add target docker-cleanChristian Hesse1-1/+4
This removes the docker image and volume `vis` and thus purges everything we added in docker.
2020-01-30build: clean up docker buildChristian Hesse2-17/+11
2020-01-28vis: support an optional exit status in :q and :qall commandsMarc André Tanner3-8/+8
This can for example be used to abort git commit messages with :q! 1.
2020-01-28build: fix generation of HTML man pagesMarc André Tanner1-1/+1
Starting with mandoc version 1.14.2 the xhtml format is no longer an alias for html.
2020-01-28Merge branch 'master' of https://github.com/eafe/visMarc André Tanner1-1/+1
2020-01-28lexers: add case keyword to rc lexerMarc André Tanner1-1/+1
Close #761