A-Walrus
43027d9104
Display highest severity diagnostic in gutter ( #2835 )
...
* Display highest severity diagnostic in gutter
* Improve gutter diagnostic performance
Very slight improvement (doesn't really make a difference), iterates over the diagnostics of the line
once instead of twice.
* Add comment justifying unwrap
2 years ago
Michael Davis
cdeab337cd
simplify fallback for selected line-number theming ( #2768 )
2 years ago
Dr. David A. Kunz
b04c425c63
Make gutters configurable ( #1967 )
...
* config option line numbers none
* view tests
* added tests
* doc
* comment
* Make gutters configurable
* docu
* docu
* rm none docu
* order
* order
* precedence
* simpler
* rm todo
* fixed clippy
* order
* double quotes
* only allow diagnostics and line-numbers
* tests
* docu
* format
* rm short variant and more docu
* performance improvements
* typo
* rename
3 years ago
Joe
bee05dd32a
Add refresh-config and open-config command ( #1803 )
...
* Add refresh-config and open-config command
* clippy
* Use dynamic dispatch for editor config
* Refactor Result::Ok to Ok
* Remove unused import
* cargo fmt
* Modify config error handling
* cargo xtask docgen
* impl display for ConfigLoadError
* cargo fmt
* Put keymaps behind dyn access, refactor config.load()
* Update command names
* Update helix-term/src/application.rs
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Switch to unbounded_channel
* Remove --edit-config command
* Update configuration docs
* Revert "Put keymaps behind dyn access", too hard
This reverts commit 06bad8cf49
.
* Add refresh for keys
* Refactor default_keymaps, fix config default, add test
* swap -> store, remove unneeded clone
* cargo fmt
* Rename default_keymaps to default
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
3 years ago
Blaž Hrastnik
bd549d8a20
Merge remote-tracking branch 'origin/master' into debug
3 years ago
Andrew Neth
333c2949c2
feat(helix-view): dynamic line numbers ( #1522 )
...
* feat(helix-view): dynamic line numbers
* docs: describe editor.line-number in more detail
* Make dynamic numbers the default behavior of `relative`
3 years ago
Blaž Hrastnik
35ac815409
Fix compilation
...
nix-direnv issues still mess with my shell..
3 years ago
Blaž Hrastnik
a2b22ec152
Use binary_search when looking up diagnostics
...
They're sorted by range so they should also be sorted by line
3 years ago
Blaž Hrastnik
d14ca05d6b
Simplify some cases that use return None to use ?
3 years ago
Blaž Hrastnik
ffc89e483b
Mark some more TODOs as resolved
3 years ago
Blaž Hrastnik
84e939ef58
Provide a single gutter component that does breakpoint || diagnostic
3 years ago
Blaž Hrastnik
d906911417
dap: Prevent crashes on files with no name or breakpoints
3 years ago
Blaž Hrastnik
30ac5869df
dap: Extract diagnostics gutter into gutters.rs
3 years ago
Blaž Hrastnik
3633f85b38
Pass editor into render_view & gutter, reducing the number of params
3 years ago
Blaž Hrastnik
225e8ccf31
Extract gutters into helix-view
3 years ago