| Age | Commit message (Collapse) | Author |
|
|
|
The python LSP used some nbsp unicode chars when sending back
documentation.
|
|
When typing a non-alphanumeric char manually, we add a undo boundary
to not be too greedy.
|
|
This fixes issues where new files would get the wrong mode.
|
|
It now creates an undo entry for the whole file.
|
|
It did not consider the starting location which made it
not find the char it was standing on. This resulted in buffer_word_at
returning the wrong thing.
|
|
It does not play nice with Nix
|
|
Also add a revision to the --version
|
|
Did not escape the message and did not put a comma between
array entries.
|
|
Also remove the unnecessary state tracking for active completion.
|
|
Now, if you kill all buffers, the editor will shut down :)
|
|
When deleting a word, you could get "stuck" on non-word chars. To
avoid this, fall back to delete word being a normal delete when
not in a word.
|
|
|
|
Made clang on OpenBSD barf
|
|
These should ideally be paired with setting the capability on
initialize, but for now, the parsing support is there at least for
LSP servers that ignore it (like pylsp).
|
|
The previous fix for that did not take multiple files into account.
|
|
I.e. when you save, it is probably time to remove the completion.
|
|
When in the buflist, you can now press 'S' to save all unsaved
buffers.
|
|
To not collide with the <stdio.h> globals for stdin, stdout and stderr.
|
|
Diagnostic highlight now sets the fg to white and the background to
the appropriate color for the diagnostic severity. Before, we
could end up with a yellow color for warning as background and
a yellow as foreground for a function, which caused unreadable text.
Also fix some more cases where re-render is needed.
|
|
Running a lot faster just causes tearing.
|
|
This is an old xterm feature that most terminals seem to implement.
|
|
|
|
Also make it a bit more robust if we run out of slots.
|
|
Then do not display anything and warn user with a message that
no help was available.
|
|
|
|
It now detects and saves properly.
|
|
We were spawning too many completion requests as part of
the text being changed.
|
|
- It now colors correctly
- Supports searching for unicode symbols
- Make search able to continue when more letters are entered
|
|
Add to buffer_view when jumping to a location.
|
|
Scrolling vertically now keeps two lines of context and overflowing
vertically places dot in middle of screen.
|
|
It now uses the common approach of saving to a different file and
then using rename to the desired filename after the file has been
fully written, thus not corrupting the file in case of a crash
when writing the file.
|
|
|
|
This makes the LSP support complete for now:
- Completion
- Diagnostics
- Goto implementation/declaration
- Rename
- Documentation
- Find references
|
|
- Some unused variables
- Fix zero window size under lldb
- Make instantiation of languages more robust
|
|
Was caused by using a vector that used realloc to grow. That only works
sometimes. Now instead, the buffer list is a chunked linked list, i.e. a
linked list where each element is a fixed size array.
|
|
|
|
|
|
Id did not use position 0 properly and caused it
to "lose" copy/paste information when the kill ring wrapped around.
|
|
Highlight the regular search matches using a
oneshot approach.
|
|
Previously, the code assumed 4.
|
|
Was not doing the correct thing when multiple lines
was added.
|
|
|
|
Previously assumed that column was 0 if more than one line was
inserted. This was never correct.
|
|
|
|
In this case, the end of the buffer is on the last line, however
if there are no lines in the buffer, it would cause an underflow.
|
|
|
|
|
|
Outside the Nix setup, it will be the responsibility of something else
(might be a script) to provide the treesitter grammars.
|
|
This contains the start of an LSP client.
Nothing (except starting the LSP server) works
at the moment and the feature is disabled by default.
|