Commit graph

629 commits

Author SHA1 Message Date
f4dd30b1c2
feat: make --no-syntax just disable syntax highlighting and not language server support 2024-10-12 19:57:47 +02:00
xdBronch
5182756f1d add vim normal hover keybind and fix typo 2024-10-12 09:06:18 +02:00
8004b41eb4
fix: don't force a full syntax reparse on undo/redo 2024-10-12 00:54:04 +02:00
efc5546488
feat: only use partial tree-sitter reparsing if parsing take more than 5ms 2024-10-12 00:52:04 +02:00
e9a7d681f2 fix: add missing pos_to_width calls in add_diagnostic
This will fix the positioning of diagnostics in lines that have glyphs
with widths != 1 like tabs or emojis.
2024-10-11 21:07:55 +02:00
39d4197a42
fix: workaround indent size limitation in indent_cursor 2024-10-10 23:44:13 +02:00
d2238bf847
feat: make indent size and tab width configurable and add indent guide mode 2024-10-10 23:16:49 +02:00
55fb6d29a0
feat: allow closing the panel view by dragging down 2024-10-09 21:24:58 +02:00
3ca4d06cc4
fix: palette scrollbar bounds 2024-10-09 21:02:02 +02:00
3bea19084c
fix: add missing selection_updated call to palette up/down commands 2024-10-09 20:48:50 +02:00
c5e7b1f896
refactor: improve WidgetList.addP style 2024-10-09 20:48:50 +02:00
07fdf30e9f
fix: prevent arena memory leakage in diff.zig 2024-10-02 20:15:40 +02:00
9080fd4826
fix: correctly propagate eol mode to status bar widgets 2024-09-25 20:52:35 +02:00
fb0531de5c
fix: reflection eol mode changes in buffer dirty state 2024-09-25 20:50:44 +02:00
f1ea8ae8d2
feat: add flow mode keybindings for expand_/shrink_selection 2024-09-25 20:13:46 +02:00
716ff784a6
refactor: sort flow mode hints 2024-09-25 20:13:01 +02:00
593b202b16
feat: add support for CRLF EOL mode 2024-09-25 20:06:06 +02:00
9a633aa2a9
build: fix zig tarball download url 2024-09-23 13:10:00 +02:00
095293993b
Merge flow-syntax subtree 2024-09-22 14:23:38 +02:00
fc44208892 Squashed 'src/syntax/' changes from 3619572..d5b5da5
d5b5da5 feat: add nu
9e943df feat: add vimscript support
3aa9e32 fix: make cpp highlights inherit from c highlights
f516cca feat: update tree-sitter
bc10ea1 feat: format json with hjson
0b9e4ac refactor: change a -> allocator
bd5240d fix: update color for typst file_type
302b343 feat: add typst file type
97b6432 feat: update tree-sitter to add typst
5637dc8 refactor: prefer orelse to if(pred) |x| x else y
4818cc1 build: add the options to build entirely without tree-sitter
4106496 feat: add language server for openscad file type
fcd12e6 refactor: re-format file_types.zig
8536e19 feat: add elixir file type
d04f957 Add OCaml Formatter and LS (#23)
945a58d feat: add ini as a toml file extension

git-subtree-dir: src/syntax
git-subtree-split: d5b5da509350ef946b33cfb5c04ede68e288545b
2024-09-22 14:22:11 +02:00
ee7fb21cee
fix: add missing error set 2024-09-19 22:03:27 +02:00
0542fdc680
refactor: use explicit error sets in MessageFilter and project_manager 2024-09-19 21:54:18 +02:00
6fac0b1cb4
fix: prevent error.Overflow for LSPs that send crazy large messages 2024-09-18 21:33:19 +02:00
a58ab986f1
feat: require metadata on all commands 2024-09-17 23:00:54 +02:00
d75dcd7b84
feat: add metadata to all commands 2024-09-17 23:00:53 +02:00
bdd16f43fb
feat: add support for command metadata 2024-09-17 23:00:48 +02:00
6b43dd4f28
fix: use correct .zig-cache path for zig-0.13 in zig wrapper cdb command 2024-09-13 11:49:12 +02:00
60b91a3495
Revert "Convert the zig wrapper to POSIX shell"
This reverts commit 8b1a764429.

closes #41
2024-09-13 11:47:50 +02:00
07e3df4cd9
fix: add missing need_render() call in add_info_content() 2024-09-11 17:14:02 +02:00
2b4f5d0af0
feat: add vimscript support 2024-09-11 16:03:33 +02:00
7a46ce585b
fix: make cpp highlights inherit from c highlights
closes #42
2024-09-11 15:51:40 +02:00
b4d8cf6b3d
feat: update tree-sitter 2024-09-11 15:51:13 +02:00
bf3fe5f2ba
refactor: run zigimports
closes: #38
2024-09-10 22:25:54 +02:00
Kat
8b1a764429 Convert the zig wrapper to POSIX shell
Removes a few bashisms like `==` in `test` and `$(<file)`, as well as changing the shebang.
2024-09-10 22:19:53 +02:00
d3eb4e9913
feat: toggle the panel on right or middle click of the flow button 2024-09-10 22:12:22 +02:00
97501c4ec7
feat: hightlight returned range in LSP hover responses 2024-09-10 21:47:13 +02:00
ce71ea88c7
docs: add hover mode and keybinding to help 2024-09-10 21:25:14 +02:00
1391372174
feat: add mouse hover support to editor in jump mode 2024-09-10 21:24:54 +02:00
d5494c492b
feat: reset info view content on empty hover response 2024-09-10 21:21:33 +02:00
042c41aca3
feat: add hover command keybindings 2024-09-10 20:27:06 +02:00
539b1fd37d
feat: add editor hover command 2024-09-10 20:23:34 +02:00
c894ae6dea
feat: add support for LSP hover requests 2024-09-10 20:22:31 +02:00
990c12797c
feat: add a very simple info view 2024-09-10 20:21:41 +02:00
b970031a7f
feat: don't treat unknown LSP notifications as errors 2024-09-05 22:15:07 +02:00
2060588a28
feat: respond to client/registerCapability requests with a null result 2024-09-05 22:15:07 +02:00
79ba5d32cd
feat: add basic support for responding to requests from a language server 2024-09-05 22:10:47 +02:00
9cff9717c0
feat: format json with hjson 2024-09-05 22:06:59 +02:00
4ac6818a4f
fix: allow tab characters in bracketed paste operations
closes #39
2024-09-05 16:41:05 +02:00
929f6b50b3
fix: do not break out of bracketed paste on sanitizer fail
Log and drop the bad bytes instead.
2024-09-05 16:39:51 +02:00
d286aae67a
refactor: move bracketed paste handling to functions and log errors 2024-09-05 16:39:13 +02:00