aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2025-11-29cmd_write: show error message for non-existing path componentsFlorian Fischer1-1/+3
2025-11-29Clarify testing infrastructure for vis editorJorge Gomez1-2/+1
Updated README to clarify repository purpose and structure.
2025-11-28Add command completion with tab keyMax Schillinger4-4/+67
In the command prompt, press <tab> to get a list of all available commands and pick one (using vis-menu). This works also after typing the first letters of a command (p.e. `:la<tab>`). Co-authored-by: Matěj Cepl <mcepl@cepl.eu>
2025-11-28build: make clean also documentaitonMatěj Cepl1-0/+1
2025-11-28filetype: detect additional shell filesunrealapex1-1/+1
2025-11-28docs: remove $ from environment variable nameunrealapex1-1/+1
remove $ from environment variable name because environment variables are referenced by name without it
2025-11-28lua/lexers: synchronization with new release scintillua_6.6mitchell21-63/+316
Bugfixes: - Fixed Pascal numeric literals. - Fixed folding of HTML/XML comments and XML processing instructions. - Fixed incorrectly highlighting '..' range operators between numbers. Changes: - Added Janet and todo.txt lexers. - Updated Python lexer to recognize t-strings. - Migrated ini and Dart lexers. - Updated org lexer word lists.
2025-11-27ui: add missing includes for printfssewn1-0/+2
functions such as [v]snprintf and sscanf require stdio and stdarg.
2025-11-24text-util: convert trivial functions to macrosRandy Palamar2-15/+3
This would be less of an issue if vis was compiled as a single translation unit but even then compiler may not inline them if they are not marked as static.
2025-11-24text: remove a bunch of unused save functionsRandy Palamar7-68/+26
These functions were only used for testing the text system. One of them was moved to text-test.c to continue to facilitate this. Otherwise these functions are just cluttering up the code and making it hard to modify.
2025-11-24text-io: make TextSave visibleRandy Palamar4-72/+53
Having a failure case on allocing a TextSave is stupid. Ideally there would be no allocations in the file saving path but we have to replace the braindead dirname(3) with an internal implementation.
2025-11-24text-io: do not free the temporary file name before unlinking the fileFlorian Fischer1-2/+0
2025-11-12Fixed typoStefan1-1/+1
2025-08-19Fixes waycopy hanging due to unclosed stderr fdrunitclean1-2/+2
2025-06-13doc: source_suffix should be a map, not a listMatěj Cepl1-1/+1
2025-06-13lua/lexers: update to scintillua 6.5Matěj Cepl7-532/+720
This is an amalgamation of the following upstream commits: - Overhauled API documentation for lexer.lua. - Fixed Markdown to allow code fence blocks to be indented. - Use GitHub Pages' Primer theme for documentation. Build static pages with Jekyll, like GitHub Pages does. - Migrated systemd lexer. Thanks to Matěj Cepl. - Migrated Lisp lexer and highlight character escapes. Thanks to Matěj Cepl. - Migrated rpmspec lexer and made some improvements. Thanks to Matěj Cepl. - Modernized reST lexer. Thanks to Matěj Cepl. - Markdown lexer should just tag the start of a blockquote. The quote's contents may contain markdown. - Output lexer can highlight CSI color sequences. - Allow lexers to define their own fold functions. - Added custom folder for Markdown headers. - Added `lexer.line_start`, `lexer.line_end` and `lexer.text_range()`. - Fixed Markdown lexer to not lex some continuation lines as code. - Fixed SciTE not using Scintillua's markdown lexer. - Markdown lexer should not highlight secondary paragraphs in list items as code blocks. - Have SciTE recognize CMakeLists.txt.
2025-06-13doc: fix Markdown in CHANGELOG.mdMatěj Cepl1-2/+2
2025-06-13doc: fix Doxygen comments for vis-subprocess.cMatěj Cepl1-1/+5
2025-06-13doc: fix Doxygen comments for view.hMatěj Cepl1-18/+23
2025-06-13doc: fix Doxygen comments for text.hMatěj Cepl1-24/+31
2025-06-13doc: fix Doxygen comments for vis.hMatěj Cepl1-201/+634
2025-06-13doc: fix Doxygen comments for map.hMatěj Cepl1-23/+53
2025-06-13doc: change default_role to 'c:any'Matěj Cepl1-1/+1
2025-06-13use <vis-prompt-show> instead of ':'Alvaro Sanchez1-11/+11
fixes #1246 - Remapping : break other mappings like <C-w>s or <C-w>v
2025-06-02build: update alpine in docker build to version 3.22Christian Hesse1-1/+1
Just a version bump, no changes required.
2025-05-17ci: drop ubuntu-20.04, deprecatedsewn1-4/+1
Github CI ubuntu-20.04 runner image deprecated, seen in https://github.com/actions/runner-images/issues/11101
2025-04-17vis.1: fix typoAlan Urmancheev1-1/+1
2025-04-01filetype: use .container extension for podman containersMatěj Cepl1-2/+2
2025-04-01vis-clipboard: add wsl support with wslclipEvan Gates1-0/+13
2025-03-22doc: upgrade Doxyfile via doxygen -u (1.13.2)Matěj Cepl1-423/+836
2025-03-20Dockerfile: Upgrade lua5.3 to 5.4zdiff1-4/+4
2025-02-28buffer: remove more unused exposed functionsRandy Palamar4-23/+7
NOTE: buffer-test.c now directly includes buffer.c so that it can continue to test functions which are defined as static/internal to buffer.c
2025-02-28buffer: remove buffer_printfRandy Palamar4-20/+2
There was only a single user of this function because buffer_appendf is significantly more useful. Change that caller and reduce the code.
2025-02-22ci: also don't fail when the coverage file doesn't download correctlyRandy Palamar2-6/+6
2025-02-22ci: don't let test coverage upload fail a workflowRandy Palamar2-2/+2
Yes it would be better if some commits didn't have missing coverage but failing over it doesn't give us any useful info about the commit
2025-02-22style_set: add option to keep non-default style valuesinfastin6-24/+35
2025-02-22update to scintillua-6.4 + 1 (org-mode lexer)Matěj Cepl155-155/+259
2025-02-22complete-filename: speed-up the tilda handlingMatěj Cepl1-2/+3
2025-02-22introduce new `asciidoc` file typeMatěj Cepl1-0/+3
2025-01-19complete-filename: complete tilda as $HOME as wellMatěj Cepl1-0/+6
2025-01-12test: add a couple missed files to .gitignoreRandy Palamar1-6/+9
2025-01-12sam: fix small oversight in cmd_filterRandy Palamar1-4/+4
This was the only place where buffer_move was actaully doing something useful.
2025-01-12buffer: drop buffer_move functionRandy Palamar5-28/+6
2025-01-12array: delete onelinersRandy Palamar13-79/+67
same as buffer commit Array is completely visible
2025-01-11buffer: clear out one line functionsRandy Palamar9-70/+34
Buffer is fully exposed to the program, no need to rely on the linker to optimize useless code.
2025-01-11buffer: delete pointless buffer_init functionRandy Palamar11-48/+20
lets not make the code harder to read for no reason
2025-01-08ui: pass window id when setting styleRandy Palamar4-19/+18
There are a couple times when we want to set a style without an active window. In those cases we just want to use base UI_STYLE_*s and (Win *) is not needed. This fixes a crash when trying to do a vis:info() from lua during an initial file open event. Note that this code is due for a serious refactor, ui styles should be stored in Ui and window specific styles should be stored in Win. Then we won't need any of this difficult to follow indexing into the styles array based on window id and we will never have to realloc when a new window opens. Just another thing to add to my list.
2025-01-06scripts: make option listing more consistentRandy Palamar3-11/+14
2025-01-06scripts: fix shellcheck warnings and make scripts more uniformMatěj Cepl3-32/+62
2025-01-04curses ui: fix default color detectionRandy Palamar3-38/+24
closes: #1209