| Age | Commit message (Collapse) | Author | Files | Lines |
|
Just a version bump, no changes required.
|
|
we already have a function for filtering by a prefix. No need for
snprintf and extra grep process for filtering.
also use simpler buffer_append for appending instead of going
through string formatting
|
|
... now that this is made with 12fc09a442939d0af09d700c7a8074cca9b1694e.
This unbreaks `make docker`, which triggered the catch-all target
and failed.
|
|
This commit refactors the lua test runner (`test.sh`) to support
running a test inside `gdb` when the `-d` or `--debug` flag is
passed.
|
|
|
|
Updated README to clarify repository purpose and structure.
|
|
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>
|
|
|
|
|
|
remove $ from environment variable name because environment variables
are referenced by name without it
|
|
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.
|
|
functions such as [v]snprintf and sscanf require stdio and stdarg.
|
|
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.
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fixes #1246 - Remapping : break other mappings like <C-w>s or <C-w>v
|
|
Just a version bump, no changes required.
|
|
Github CI ubuntu-20.04 runner image deprecated, seen in
https://github.com/actions/runner-images/issues/11101
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
There was only a single user of this function because
buffer_appendf is significantly more useful. Change that caller
and reduce the code.
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This was the only place where buffer_move was actaully doing something useful.
|
|
|
|
same as buffer commit Array is completely visible
|
|
Buffer is fully exposed to the program, no need to rely on the
linker to optimize useless code.
|
|
lets not make the code harder to read for no reason
|