summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-20ci: add macOS buildsMarc André Tanner
2020-02-20ci: add ubuntu buildsMarc André Tanner
2020-02-20test: updateMarc André Tanner
2020-02-17test/core: avoid compiler warning about zero length format stringMarc André Tanner
2020-02-13test/util: list all enum values to fix compiler warningMarc André Tanner
2020-02-13ci: add sourcehut build manifestsMarc André Tanner
2020-02-13test: updateMarc André Tanner
2020-02-13test/sam: add test for anchor behavior involving new linesMarc André Tanner
2020-02-13test/vim: skip tests if vim is not availableMarc André Tanner
2020-02-13test/vis: use C.UTF-8 localeMarc André Tanner
2020-02-13Fix compiler warningsMarc André Tanner
2020-02-12sam: support optional count for text commandsMarc André Tanner
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é Tanner
2020-02-11lexers: fix TOML comments not being detectedRandy
`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 errorRandy
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é Tanner
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é Tanner
2020-02-10vis-menu: use distinct error code upon cancelling selectionMarc André Tanner
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é Tanner
2020-02-10filetype: highlight column 72 in git commit messagesMarc André Tanner
2020-02-10lexers: ruby squiggly heredocsKelsey Judson
2020-02-09filetype: add more Prolog filename extensionsKarl Schultheisz
2020-02-07vis: restore mode when dot-repeatingGeorgi Kirilov
2020-02-07lua: add <plugin>/init.lua to package.pathGeorgi Kirilov
2020-02-07build: improve debug flagsMarc André Tanner
Make macro definitions and enums available to debugger.
2020-02-07doc: update release numberMarc André Tanner
2020-02-07Merge branch 'lexer-c' of https://github.com/zsugabubus/visMarc André Tanner
2020-02-07Merge branch 'fix-cc-cell' of https://github.com/zsugabubus/visMarc André Tanner
2020-02-04vis: make core code more robustMarc André Tanner
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é Tanner
2020-02-03build: properly kill docker containerChristian Hesse
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é Tanner
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é Tanner
Introduce utility function to create new anchored, primary selection.
2020-02-03build: explicitly specify working directory for dockerMarc André Tanner
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é Tanner
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 Kirilov
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é Tanner
2020-01-31lexers: add reference to new upstream locationMarc André Tanner
2020-01-31lexers: fix crash in rst lexerMarc André Tanner
Fix #665
2020-01-30main: fix a few mistakes in commentsTwoFinger
2020-01-30view: Fix a @param name in a commentTwoFinger
2020-01-30vis: Fix a few :help stringsTwoFinger
2020-01-30man: fix mandoc linting warningsMarc André Tanner
These are reported by: mandoc -T lint
2020-01-30man: fix skipping empty macro warningsMarc André Tanner
2020-01-30man: fix mandoc warnings as reported by make manMarc André Tanner
2020-01-30build: explicitly list configure options for docker buildsMarc André Tanner
This should catch Alpine package changes such as the one fixed in 0ba252f08e9ef7b62c442eb91b36822d654f5b04.
2020-01-30build: cleanup docker package installationMarc André Tanner
2020-01-30build: allow to replace dockerChristian Hesse
This allows to build with docker-compatible container engine: make DOCKER=podman docker
2020-01-30build: add target docker-cleanChristian Hesse
This removes the docker image and volume `vis` and thus purges everything we added in docker.
2020-01-30build: clean up docker buildChristian Hesse