Commit Graph

4244 Commits (171d28d2bdefa59ebada9eee13ef7e5cbdf0c0af)
 

Author SHA1 Message Date
Pascal Kuthe b0f20f13e3
fix git diff when core.autocrlf is enabled (#4995) 2 years ago
Pascal Kuthe 1e31bc3f77
Reduce log message about diff timeout from warn to info (#5012) 2 years ago
Blaž Hrastnik 03ca18b377
Update language support docs 2 years ago
Blaž Hrastnik 417676953b
Add basic support for common lisp 2 years ago
farwyler 59cfe95776
Add support for single-line comments to scss (#5003) 2 years ago
Michael Davis c13c6d56b6
Use logo for contrib icon (#4982) 2 years ago
PORTALSURFER e9d0645f66
Adjusted hex themes for new gutter diff colors (#4990)
* added 2 themes

* diff feature fixes

adjusted the skin to better work with the new diff coloring features

propagates to child skins like
- hex_toxic

* fine tuning so it all is a bit softer

* fine tuning to be softer

* added new version, lavender
2 years ago
Jens Getreu 326a0dab06
Autumn theme: adjust some gray colors (#4996) 2 years ago
Aleksey Kuznetsov 2123e91e56
Enable auto format for css and scss files (#4987)
provideFormatter enables capability in LS and
auto-format performs format on save
2 years ago
Michael Davis bcdb475b71
Fix transaction composition order in History::changes_since (#4981)
* Add a undo/redo split test case for crossing branches

* history: Switch up/down transaction chaining order

The old code tends to work in practice because, usually, either up_txns
or down_txns are empty. When both have contents though, we can run into
a panic trying to compose them all since they will disagree on the
length of the text. This fixes the panic test case in the parent
commit.
2 years ago
Luna dc00291b48
Update Doom Acario for git gutters (#4979)
Edited the diff.delta from green to blue.
2 years ago
Anton Romanov 224a024d39
Update zenburn theme for git gutters (#4977) 2 years ago
Pascal Kuthe b677c6a019
Add logo with text included (#4973) 2 years ago
alex 孙欣乐 59b886cf5e
nightfox theme: Use brighter colors for diff scopes (#4966) 2 years ago
Matouš Dzivjak d0bc38d6fa
feat(lang): bump tree-sitter-go (#4969)
Update tree-sitter-go to latest with updated support for generics.

See: 0fa917a702..05900faa3c
for full diff.
2 years ago
lesleyrs 39ce82b7a5
Add Ctrl-i alias for Windows (#4961) 2 years ago
Michael Davis 8c2692caf1
Use the logo as the favicon for the docs book (#4971) 2 years ago
Matouš Dzivjak c38519c57a
feat(docs): style readme & add badges (#4970)
Centre Helix title and logo and add badge with latest
release and link to matrix chat.
2 years ago
Blaž Hrastnik 98c121c9fc
Detect WezTerm and mark it as undercurl/Smulx capable 2 years ago
Blaž Hrastnik e92651816d
Forgot to set the height 2 years ago
Blaž Hrastnik dc1ec56322
Add the new logo! 2 years ago
Blaž Hrastnik 700f8ba252
Use `cargo fmt`'s --check 2 years ago
sigmaSd 4960c41f18
feat(lsp): add support for lsp Diagnostic{}.data (#4935) 2 years ago
Michael Davis 8291654326
reload_all: Ensure view is synced with doc history before reload (#4965) 2 years ago
Bertrand Bousquet 71a3a23f42
Varua theme updates (cursorline, statusline) (#4964) 2 years ago
Tshepang Mbambo e3f05603ac
tutor: Clarify space searching instructions (#4953) 2 years ago
Tshepang Mbambo a8a54be6bc
Fix nightly clippy lints (#4954) 2 years ago
Pascal Kuthe 5a3ff74221
Show (git) diff signs in gutter (#3890)
* Show (git) diff signs in gutter (#3890)

Avoid string allocation when git diffing

Incrementally diff using changesets

refactor diffs to be provider indepndent and improve git implementation

remove dependency on zlib-ng

switch to asynchronus diffing with similar

Update helix-vcs/Cargo.toml

fix toml formatting

Co-authored-by: Ivan Tham <pickfire@riseup.net>

fix typo in documentation

use ropey reexpors from helix-core

fix crash when creating new file

remove useless use if io::Cursor

fix spelling mistakes

implement suggested improvement to repository loading

improve git test isolation

remove lefover comments

Co-authored-by: univerz <univerz@fu-solution.com>

fixed spelling mistake

minor cosmetic changes

fix: set self.differ to None if decoding the diff_base fails

fixup formatting

Co-authored-by: Ivan Tham <pickfire@riseup.net>

reload diff_base when file is reloaded from disk

switch to imara-diff

Fixup formatting

Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>

Redraw buffer whenever a diff is updated.

Only store hunks instead of changes for individual lines to easily allow
jumping between them

Update to latest gitoxide version

Change default diff gutter position

Only update gutter after timeout

* update diff gutter synchronously, with a timeout

* Apply suggestions from code review

Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* address review comments and ensure lock is always aquired

* remove configuration for redraw timeout

Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2 years ago
Michael Davis 67415e096e
Fix file-types declaration for racket (#4915)
Both the racket and scheme entries used the rkt file-extension. This
commit removes that entry for scheme and so that the racket entry takes
precedence. We explicitly point to the scheme grammar now and setup
queries that inherit from scheme. This should enable using the racket
language server configuration.
2 years ago
André Sá 664d08e70d
Fix ayu theme cursor issue (#4764) 2 years ago
Michael Davis 607c74efde
Handle disambiguated keycodes (#4887)
Media keys are sent despite `DISAMBIGUATE_ESCAPE_CODES` being unset.
Previously we panicked on these. This change translates the
disambiguated keys from crossterm so that they do not cause a panic.
2 years ago
Michael Davis 260341ed80 Sync all document changes on view focus 2 years ago
Michael Davis 4802f26a23 Add a test case for undo/redo across splits 2 years ago
Michael Davis 9387dfafed Use lowest common ancestor search in History::changes_since 2 years ago
Michael Davis 9a9e462183 Call View::apply within Document::append_changes_to_history 2 years ago
Michael Davis 2709ce3332 Sync changes with view in undo/redo/earlier/later 2 years ago
Michael Davis 53c2855643 Remove calls to View::apply in undo/redo/earlier/later 2 years ago
Michael Davis 056a19a003 Sync changes between doc and view on switch 2 years ago
Michael Davis 4d1f5389f9 Revert "Don't apply transactions to Views in undo/redo"
This reverts commit fd00f3a70e.
2 years ago
Michael Davis df5457a6e7 Remove eager application of transactions to all views 2 years ago
Kirawi 04df9e4445
delete outdated reference to cessen/ropey#25 (#4928) 2 years ago
Erik Bünnig 5c213f7de4
fix(grammar): Add `block_comment` and `comment_environment` injection for latex comments (#4922) 2 years ago
Pascal Kuthe da355a3231
Significantly improve performance of `:reload` (#4457)
* bump ropey to 1.5.1-alpha

* significantly improve performance of :reload
2 years ago
Pascal Kuthe a549328ef2
bump ropey to 1.5.1-alpha 2 years ago
Chickenkeeper bf908cc4a1
Update CSS syntax highlighting (#4882) 2 years ago
gavincrawford 583c2a5456
Fix Go variable indentation (#4906) 2 years ago
Filipe Azevedo f0f295a667
reload-all: Only update viewport when view focuses on the doc (#4901) 2 years ago
Lennard Hofmann fc811726e0
Update tree-sitter-java and add Java textobjects (#4886) 2 years ago
Michael Davis 8529d756fa
Remove selections for closed views on all documents (#4888)
Previously we removed selections for a closed view on only the
currently focused document. A view might have selections in other
documents though, so the view needs to be removed from all documents.
2 years ago
Matouš Dzivjak 4e52d4d6f4
feat(themes): improve fleetish (#4813)
Small adjustements to the fleetish theme to improve readability
in certain cases. Specifically:

- use darker background for menues as it (purely subjectively) loooks
  better
- use different color for `constant.buildin.boolean` and
  `keyword` to make statements such as `return true` read better
- use different colors for different markup link parts
- destructure the config where appliable
2 years ago