Commit graph

1021 commits

Author SHA1 Message Date
77cae58aeb
build: make zig wrapper support nightly builds 2024-12-21 20:55:03 +01:00
afca8a86bc
feat: add configuration option default_cursor 2024-12-20 21:44:35 +01:00
deaafbefa0
feat: upgrade cursors to block cursors when multi-cursor editing
This is to match the secondary cursors which are always block cursors.
It also give some visual feedback that we are multi-cursor.
2024-12-20 21:14:17 +01:00
2357c44912
build: Run all tests before building a release 2024-12-20 20:46:27 +01:00
69c2d06007
fix: hover should convert column to byte position in LSP response
closes: #85
2024-12-20 20:16:50 +01:00
1aa64b8ea4
fix: hover should convert column to byte position in LSP request
closes: #85
2024-12-20 17:56:04 +01:00
030b3cb139
refactor: show modifiers of modifiers in input view 2024-12-20 17:51:49 +01:00
8dc7a42306
refactor: remove alternate text from synthetic sync_mode_state events 2024-12-20 17:32:53 +01:00
f02fc60e1b
feat: add resulting key event detail to input view 2024-12-20 17:26:32 +01:00
7b21398487
fix: do not add key id string to input events if no text field is received 2024-12-20 17:25:33 +01:00
1c087203e0
fix: escape file list contents to avoid rendering garbage 2024-12-20 15:34:29 +01:00
ca784d1712
feat: allow cursor shape configuration for mini and overlay modes 2024-12-20 13:59:08 +01:00
d2671259f4
fix: build without tree-sitter 2024-12-20 12:17:58 +01:00
cf7fdb644c
build: update build.zig.zon version field 2024-12-19 22:44:07 +01:00
d3b12774c4
refactor: rename Buffer.del_chars to Buffer.delete_bytes 2024-12-19 22:41:26 +01:00
f134fdb747
fix: simplify Buffer.del_chars to use only byte offsets
This is a much faster implementation avoids duplicating work done by
Buffer.get_range. Buffer.get_range also does not have the bug reported
in #83.

The test case was also updated to reflect that get_chars now uses bytes,
instead of columns.

closes #83
2024-12-19 22:36:40 +01:00
5d5b157295
refactor: add test case for #83 2024-12-19 19:36:19 +01:00
df1646d3b1
fix: unittest bitrot 2024-12-19 18:47:20 +01:00
286316b494
feat: process completion response messages and send results to editor 2024-12-18 21:57:04 +01:00
502710cadb
fix: disable markdown in LSP responses
Until we have a markdown renderer...
2024-12-18 21:46:36 +01:00
a0d9dede18
feat: hide line highlight when selecting if theme requires it 2024-12-18 16:22:56 +01:00
587b707069
fix: crash if pos_to_width is given an out of range value
Possible with bad lsp diagnostics for example.
2024-12-18 16:08:51 +01:00
c0a9be21f5
feat: sanitize non utf-8 and display a status bar warning 2024-12-18 15:52:57 +01:00
e865a89ede
feat: render secondary/unfocused cursors with secondary cursor theme style 2024-12-17 21:22:49 +01:00
32d67a3972
feat: use terminal cursors for mini mode and overlay input boxes
closes: #80
2024-12-17 19:15:20 +01:00
ff0987c108
fix: unicode input in mini modes and palettes
closes: #81
2024-12-17 18:35:47 +01:00
e17345eff7
fix: disable fast scroll and/or jump mode when changing to mini/overlay modes
closes: #82
2024-12-17 17:15:41 +01:00
3be04c0303
fix: overflow in find_in_files on large input 2024-12-17 17:04:33 +01:00
cbc8df69d3
feat: improve filter executable not found errors 2024-12-16 23:16:44 +01:00
047c9bbb99
feat: improve language server not found errors 2024-12-16 23:14:24 +01:00
11215b21ad
feat: improve ripgrep errors 2024-12-16 22:49:17 +01:00
a25e753ff4
feat: update thespian to get better language server errors 2024-12-16 22:29:11 +01:00
57942ac4f0
fix: use associated text if available instead input codepoint
closes: #78
2024-12-16 22:11:23 +01:00
edwloef
0465a3b8d5 add JuliaFormatter as julia formatter 2024-12-16 10:00:52 +01:00
edwloef
21a4b48b5b add rustfmt as rust formatter 2024-12-16 10:00:52 +01:00
c83d9387ef
fix: prevent find_in_file from removing the last char of a match string 2024-12-13 21:55:53 +01:00
fd648b7b07
fix: foreground color alpha calculation 2024-12-12 21:19:35 +01:00
af68c397bc
fix: rendering of minimode separator 2024-12-12 20:12:11 +01:00
beef23703d
fix: style of home menu items when clicked 2024-12-12 19:35:46 +01:00
f7ba83fd83
refactor: prefer Plane.fill for blanking with alpha 2024-12-12 19:25:44 +01:00
fa25d250c6
fix: improve alpha rendering on gutter 2024-12-12 19:11:54 +01:00
62a4ec1400
fix: alpha rendering of status bar 2024-12-12 18:46:57 +01:00
76ad218729
feat: add clock to default status bar 2024-12-12 18:29:42 +01:00
63a4569ef1
Merge flow-syntax commit 'bdfae74f944771f0252dde6e41492e81fe6d8e74' 2024-12-12 17:56:50 +01:00
bdfae74f94 Squashed 'src/syntax/' changes from d5b5da5..ba10d89
ba10d89 Merge remote-tracking branch 'origin/master'
0b0cb14 feat: add mail file type support
eda5f22 feat: add descriptive names for file types
5be7cbf feat: add xml formatter
2dd75f9 feat: add pyi to python file extensions
cba2de6 Merge remote-tracking branch 'origin/master'
017c727 feat: add odin support
78f312e feat: add cmake support
be71fff feat: add cmake support
40e4f73 feat: add expand/shrink_selection and select_next/prev_sibling commands
3e42e08 refactor: run zig fmt
9eb5c4c fix: add --stdin to gleam format
2345f2f feat: add gleam formatter
76c493d feat: add gleam to file types
66a5663 feat: update tree-sitter to add gleam support
3673787 feat: add julia support
d91691c fix: remove obsolete and broken syntax.refresh function
e7401e0 feat: add syntax.refresh_from_string utility function
812b66f fix: add swiftinterface as a swift file extension
b0b6e46 feat: add support for the swift language
dcfa5cd feat: add hare to syntax file types
b5c309f build: update tree-sitter for new zig parser and hare support
dbdc9a8 feat: add go formatter to file types
d5fcdb1 feat: add ruby lsp to file type config
b2a2981 fix: typo in first line match for file type python
71fdb49 fix: prefer to treat .h files as c++
0498ae3 refactor: zig fmt all source files
57dfa2e feat: add command to toggle syntax highlighting (S-F10)
b31fb25 feat: make --no-syntax just disable syntax highlighting and not language server support

git-subtree-dir: src/syntax
git-subtree-split: ba10d89670e19004bd3b958a407afc087c33ca9f
2024-12-12 17:56:50 +01:00
87e1ac1eef
fix: make helix mode save file commands easier to find
closes #76
2024-12-12 17:38:50 +01:00
6d1648a761
feat: add helix-mode save_selection command
closes #76
2024-12-12 17:38:06 +01:00
69dda065c8
fix: don't leak loggers in mainview 2024-12-12 17:25:47 +01:00
5e72acdd1e
feat: add mail file type support
closes #9
2024-12-12 17:05:50 +01:00
4e03fc99d4
feat: add keybind status bar widget
This widget will show the state of the leader key sequence being
processed.
2024-12-12 17:04:01 +01:00