| Age | Commit message (Collapse) | Author |
|
The minibuffer code for handling going back to previous window
after abort was a bit too greedy.
|
|
|
|
|
|
Previously it tried to reload the buffer even though it could not
be watched.
|
|
This is safer since the event is only emitted once the file is closed,
not every time it is modified and it seems to yield more reliable
results.
|
|
Fix the buffer list return key action when buffers have the same name.
Previously, it would pick the first it could find in the buffer list
with the correct buffer name instead of the selected one. Now it uses
text properties to pass the actual buffer pointer along instead.
This however exposed a problem with the clearing of properties and where
in the frame it happens. Search and replace highlighting assumed that
they could color things in their respective command executions. However,
ideally coloring should happen in update functions so now both search
and replace implement the coloring in update hooks for the buffer
they are operating on. For replace, this was already kinda how it
worked and could be adapted with minimal effort. Search on the other
hand needed a bit more rework.
|
|
The crash happened when a new file was opened followed by another
completion. The reason was that not accepting any of the completion
suggestions caused the completion to stay active, causing the context
to not be updated for the next completion.
|
|
If a region is active, indentation is added to the whole region.
|
|
If the replace happened on the same line as another match and was longer
or shorter than the previous value, the highlights and following
replaces would be offset.
|
|
There is now a super minimalistic configure script that automatically
detects the event system (epoll/kqueue) and generates a config.h and a
config.mk.
|
|
Also use color constants in some more places.
|
|
Was caused by updating all buffer hooks on every char insert.
Particularily, the syntax update takes a little bit too long to
call on every char. Now the keyboard parsing routine compresses
all consecutive self-inserting chars into one "key press".
Also fix some small issues with timers and update them with a min
and max.
|
|
|
|
Clarify a few things in the README.md and add a version macro
that can be used with `-V/--version`.
|
|
Completes on the command, not on following arguments if written
directly at the prompt.
|
|
On systems that has unkown widths for emojis for example,
using -1 for width is not a good fallback.
|
|
Can be killed with the command `kill-buffer`, the shortcut `C-x k`
or from the buffer menu.
|
|
It was very complicated and tried to handle cases that
were specific to certain movement with a too general
approach.
|
|
To try and reset the terminal to something useful.
|
|
Reactor is not really implemented yet but at least
it builds and the tests run.
|
|
|
|
|
|
Implement another predicate and add javascript.
|
|
It found some really nasty ones :)
|
|
The timers shown with `M-x timers` are now actual timings.
|
|
Can be set with the $TREESITTER_GRAMMARS variable, separated by ':'
|
|
|
|
|
|
Some functions used "languages." and some did not.
|
|
Caused by previous commit
|
|
Now it just contains id and name as static properties.
|
|
It breaks the default to switch back to prev buffer.
|
|
|
|
|
|
Missed a boundary causing it to undo more than expected.
|
|
|
|
Tree-sitter uses position in byte coordinates, despite
what it seems to say in the docs.
|
|
Now it only deletes the word under dot.
|
|
|
|
|
|
|
|
It was not returning the length of the key name.
|
|
|
|
It is now created when parsing the queries.
Also, make completion popup directly.
|
|
|
|
Fixes region highlight being wrong.
|
|
|
|
Was using the minibuffer instead of the
actual buffer.
|
|
No need to register settings anymore and languages
can better handle arbitrary settings now.
|
|
It felt a little too greedy
|