| Age | Commit message (Collapse) | Author |
|
|
|
- keywords removed: `async`, `noasync`, and `usingnamespace`
- builtins added: `memmove`
|
|
|
|
|
|
In commit https://github.com/mawww/kakoune/commit/ca36d0d2282dd304effe6326393751827c269210
the align function was added as a builtin accidentally.
Also, f80 type was added in Zig 0.10.0: https://ziglang.org/download/0.10.0/release-notes.html#f80
|
|
|
|
|
|
|
|
|
|
This makes Kakoune behave more consistently when using it for Zig.
Empty comments are already auto-removed from the C-family and Python.
In this PR, string literals that start with \\ are not removed in purpose.
|
|
`x` is often criticized as hard to predict due to its slightly complex
behaviour of selecting next line if the current one is fully selected.
Change `x` to use the previous `<a-x>` behaviour, and change `<a-x>` to
trim to fully selected lines as `<a-X>` did.
Adapt existing indentation script to the new behaviour
|
|
- c_void has been renamed to anyopaque
- a few new builtins have been added.
|
|
|
|
* adds nosuspend keyword
* adds @extern builtin
* removes @TagType builtin
|
|
This should cover all filetypes that already auto-insert comments,
except for rust.kak, which is left for a follow-up.
Most of these are straightforward, some explanation for special cases:
rc/filetype/zig.kak rc/filetype/cue.kak
These indent hooks used their own logic to indent after "{" only if
no comment was inserted. Replace this logic by checking if a comment
was inserted. This works because these "*-insert" hooks are run
before their respective "*-indent" hooks.
rc/filetype/php.kak
This also has some logic to insert "*" after "/*" lines. Basic
usage seems to work still. In future this should borrow from the
c-family one, which works a bit better.
|
|
If a line contains three slashes directly followed by a new line, the
next line is also erroneously highlighted as a doc comment currently.
Using a lookahead instead fixes this.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|