summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-15filetype: support filetype detection via hashbangkhwerz
add 2 tables, hashbang and utility for vis.ftdetect.filetypes.<lang> fetch utility from /usr/bin/env args (mostly) Support -S for /usr/bin/env args, discard variables=value args
2022-06-01build: update alpine in docker build to version 3.16Christian Hesse
2022-05-29filetype: Set diff filetype for COMMIT_EDITMSG filesKarol Kosek
This filename is set when writing a commit message in git. If you run git-commit with an --verbose option or if you just have set it in your git-config, that shows you the patch diff on bottom of the file. Unfortunately, now every patch file will set colorcolumn, but overall I think this is better than having duplicated lexers.
2022-05-29filetype: Allow ".PKGBUILD" extension for PKGBUILDsMithicSpirit
Some AUR helpers use this (e.g. paru).
2022-05-29filetype: add .glif to xmlRomain Hervier
2022-05-29filetype.lua: Add "text/x-script.python" to pythonHaelwenn (lanodan) Monnier
2022-05-29README: fix typoJonathan Neidel
encourage -> encourages
2022-05-03Re-enabled tre by #including <stddef.h>.Peter Buxton
2022-05-03README: x/freenode/c/libera/Evan Gates
Update the README to point to irc.libera.chat after the great migration of 2021.
2021-04-20filetype: Set "groovy" for JenkinsfileGalen Abell
2021-04-20ci: verify coverity scan script before using itMarc André Tanner
2021-04-20ci: verify codecov script before using itMarc André Tanner
2021-03-28vis: Add readline Ctrl+A/E bindingsstriker.sh
2021-03-15add lua5.4 in configure scriptxoich
2021-02-15vis: correctly close pipe connected to stdin of external processMarc André Tanner
Once we have written all data we should properly close the (correct) pipe. Before we wrongly closed the pipe connected to the standard output stream. More generally, we currently do not listen for child process termination, but instead wait until all the connected pipes are closed. This might be problematic in case the external process keeps hold of the standard I/O file descriptors. One particular example of this is wl-copy(1). See #929
2021-02-11sam: simplify trailing match handling for x/y commandsMarc André Tanner
Should be no functional change, just a simpler implementation.
2021-02-11sam: tweak handling of zero length matches in y commandsMarc André Tanner
In sam(1) a command like x/[a-z]+/ y/-?/ matches every character individually, whereas in vis it would produce a zero length match before each character as is correctly the case for the x counter part.
2021-02-09gitignore: remove vim specific swap filesMarc André Tanner
These were from the time before vis was self-hosting.
2021-01-25test: updateMarc André Tanner
2021-01-25sam: produce empty match at the end of looped rangeMarc André Tanner
In certain cases (e.g. involving negated character classes) the last empty match of an x command would wrongly be skipped. See #925
2021-01-25sam: only skip the last empty match if it follows a newlineMarc André Tanner
This further tweaks the hack introduced to ignore the last match of ^ at the end of the file, see 1a158268c7693b00bf43c7e81034816d8d00358c.
2021-01-25build: update alpine in docker build to version 3.13Christian Hesse
2021-01-20Merge branch 'patch-1' of https://github.com/dallinjdahl/visMarc André Tanner
2021-01-19Adding .sv extension to verilog syntax highlighterdallinjdahl
2021-01-12filetype: Detect make shebang for "makefile".parazyd
This is useful when writing "debian/rules" files in packages.
2021-01-12filetype: Set "bash" for APKBUILD and .ebuild.parazyd
2021-01-06lexers/git-rebase: also highlight break commandMarc André Tanner
2021-01-06lexers/strace: improve comments, field names and syscall resultsMarc André Tanner
2020-12-30Mention pkg-config in READMEMarc André Tanner
Fix #867
2020-12-29vis-lua: provide file.permission propertyMarc André Tanner
These are the permission bits of struct stat's st_mode field at the time of the most recent load/save. Close #861
2020-12-28vis: implement multiline to/till motionsMarc André Tanner
These are currently not mapped by default but can be enabled by mappings using their virtual key names.
2020-12-28vis: rename to/till motion internalsMarc André Tanner
This renames the functions and constants implementing the to/till motions. The new names should indicate that matches are only returned within the current line (not globally). Apart from the changed virtual key/command name this contains no functional changes.
2020-12-27lua: fix luacheck warningsMarc André Tanner
These are either accidentally global or unused variables. In the file type pluging the mime type variable was wrongly scoped, meaning the text/plain settings applied to all otherwise unknown files.
2020-12-11Merge branch 'fix-typos' of https://github.com/moesasji/visMarc André Tanner
2020-12-10fix typos in commentsMoesasji
2020-12-10vis: make O implementation independent of <Up> mappingMarc André Tanner
2020-12-08lexers: fix bug in bash lexer for last here-docSilas
f4f0f5b allowed "<<-EOF" heredocs to be parsed correctly, but it introduced a bug that made the lexer fail when the beginning of a here-doc was the last string in a file (optionally followed only by blanks). In order to fix this, move everything regarding "delimiter" within the block that is executed only if "delimiter" is not nil.
2020-12-08build: add git based version information backMarc André Tanner
2020-12-08Set version to 0.7Marc André Tanner
2020-12-08Add gemini lexerHaelwenn (lanodan) Monnier
2020-12-08Merge branch 'master' of https://github.com/KaneRoot/visMarc André Tanner
2020-12-06Zig filetype entry.Karchnu
2020-12-06Adding Zig lexer.Karchnu
2020-12-01Merge branch 's-0-bash-heredoc' of https://github.com/silasdb/visMarc André Tanner
2020-11-27Heredocs with "-" can have spaces before closingSilas
If a here-doc start delimiter begins with "-", then spaces are allowed to come before the closing delimiter. This patch fixes what would otherwise be parsed incorrectly: <<-EOF .... EOF
2020-11-26lexers: add meson build file lexerFlorian Fischer
2020-11-20ci: avoid usage of ::add-path:: command in GitHub actionMarc André Tanner
2020-11-20test: updateMarc André Tanner
2020-11-20view: make view_selections_dispose_all O(n)Mateusz Okulus
The for loop in selection_free won't run because the next element will always be NULL, because we are freeing from the end. Close #852
2020-11-20Make SourceHut badge show status of master branch commitsMarc André Tanner