Commit graph

6531 commits

Author SHA1 Message Date
767c59d8ee Disable gh workflow 2025-04-05 19:25:22 +02:00
2fb78ce5f9 Disable cachix workflow 2025-04-05 19:24:33 +02:00
10cf75c928 Disable build workflow 2025-04-05 19:22:53 +02:00
3c42a831ab Disable build workflow 2025-04-05 19:22:03 +02:00
abc39e381a Merge remote-tracking branch 'upstream/word-completion' 2025-04-05 19:10:07 +02:00
d26f1b9d41 Merge remote-tracking branch 'SofusA/pull-diagnostics' 2025-04-02 21:09:56 +02:00
1974fe9033 Merge remote-tracking branch 'upstream/master' 2025-04-02 21:05:51 +02:00
2c19d0934a Merge remote-tracking branch 'nik-rev/welcome-screen' 2025-04-02 21:05:40 +02:00
8229e746ae Merge remote-tracking branch 'nik-rev/gix-blame' 2025-04-02 21:04:54 +02:00
Nik Revenco
7c7bd20159 chore: incorrect comment fix 2025-04-02 16:10:10 +01:00
Nik Revenco
761a62df86 refactor: add comments explaining various variables + rename variables 2025-04-02 16:08:37 +01:00
Nik Revenco
3c0fcb0679 chore: justify welcome! macro with comment 2025-04-02 16:02:40 +01:00
Nik Revenco
b1c7bd91b9 refactor: do not pass argument unnecessarily 2025-04-02 16:00:49 +01:00
Sofus Addington
f32f5fddba
Pull diagnostics 2025-04-02 08:57:34 +02:00
Nik Revenco
c74fec4c6e fix?: do not block on the main thread when acquiring diff handle
not sure if this will work as I can't reproduce this
but let's see!
2025-04-02 00:12:38 +01:00
53ed151a9f Merge remote-tracking branch 'nik-rev/gix-blame' 2025-04-01 22:44:02 +02:00
7db2913019 Merge remote-tracking branch 'fabian1409/feat/border_type' 2025-04-01 22:41:11 +02:00
Nik Revenco
e8d7e76c73
fix: spelling error
Co-authored-by: Sebastian Klähn <39526136+Septias@users.noreply.github.com>
2025-04-01 12:17:48 +01:00
dependabot[bot]
7ebf650029
build(deps): bump once_cell in the rust-dependencies group ()
Bumps the rust-dependencies group with 1 update: [once_cell](https://github.com/matklad/once_cell).


Updates `once_cell` from 1.21.1 to 1.21.3
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.21.1...v1.21.3)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-version: 1.21.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 13:55:16 +09:00
Sri Senthil Balaji J
db187c4870
feat: add ConsoleOnly to desktop entry categories () 2025-03-31 09:28:50 -05:00
Michael Davis
9720020504
Add a very small owned string type for the word index
`TinyBoxedStr` is a small-string optimized replacement for `Box<str>`
styled after <https://cedardb.com/blog/german_strings/>. A nearly
identical type is used in helix-editor/spellbook for space savings.

This type is specialized for its use-case:

* strings are immutable after creation
* strings are very very small (less than 256 bytes long)

Because of these attributes we can use nearly the full size of the type
for the inline representation and also keep a small total size. Many
other small string crates in the wild are 3 `usize`s long (same as a
regular `String`) to support mutability. This type is more like a
`Box<str>` (2 `usize`s long).

Mostly I like this small string type though because it's very
straightforward to implement. Other than a few functions that reach into
`std::alloc` or `std::ptr`, the code is short and boring.
2025-03-31 09:28:57 -04:00
Michael Davis
e8ec3f2768
Complete words from open buffers 2025-03-31 09:28:57 -04:00
Michael Davis
e148d8b311
editor: Remove closed Document after updating Views
When closing a document we must wait until all views have been updated
first - either replacing their current document or closing the view -
before we remove the document from the `documents` map. The
`Editor::_refresh` helper is called by `Editor::close`. It accesses each
View's Document to sync changes and ensure that the cursor is in view.
When closing multiple Views at once, `Editor::_refresh` will attempt
to access the closing Document while refreshing a to-be-closed View.
2025-03-30 11:01:17 -04:00
Nik Revenco
1a0dad36b7 perf: only render inline blame for visible lines when all-lines is set
Previously, we rendereded the inline blame for lines in 3X the range of
the viewport

This is not necessary because when we scroll down, the rendering will
occur before we see the new content
2025-03-30 11:42:43 +01:00
Nik Revenco
95344a9585 perf: use string preallocations for string concatenation 2025-03-30 00:04:16 +00:00
Andrea Novellini
fb815e2c6f
Add peachpuff theme () 2025-03-29 14:44:55 -05:00
Gavin Morrow
e735485277
Remove bg from tokyonight text () 2025-03-29 14:43:33 -05:00
Keir Lawson
bb96a535fc
Add ui.text.directory to spacebones () 2025-03-29 14:41:43 -05:00
RoloEdits
01fce51c45
fix(keymap): point to proper MappableCommand instead of Command () 2025-03-28 08:51:36 -05:00
f79099a418 Fix bork merge 2025-03-27 21:49:15 +01:00
6ad3624f84 Merge remote-tracking branch 'RoloEdits/icons-v2' 2025-03-27 21:38:40 +01:00
2ea120d205 Merge remote-tracking branch 'nik-rev/merge-statusline-cmdline' 2025-03-27 21:37:36 +01:00
096201540b Merge remote-tracking branch 'SofusA/pull-diagnostics' 2025-03-27 21:37:28 +01:00
bf032afa79 Merge remote-tracking branch 'nik-rev/gix-blame' 2025-03-27 21:36:23 +01:00
b4ba2dc83d Merge remote-tracking branch 'nik-rev/welcome-screen' 2025-03-27 21:35:52 +01:00
Keir Lawson
7929c0719d
Track progress title an display in place of internal token ()
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-03-27 12:00:23 -05:00
Nik Revenco
a51334f00b feat: increase padding by 1 2025-03-27 16:42:01 +00:00
Nik Revenco
55ef555f87 feat: improve wording in start menu 2025-03-27 16:38:50 +00:00
Nik Revenco
603d95f5d3 feat: recommend <space>e over <space>f
_
2025-03-27 16:35:13 +00:00
Alexandre Legent
68d7308e25
Update golangci-lint command for v2 () 2025-03-27 11:27:25 -05:00
Daniel Fichtinger
a2c580c4ae
feat: add tmTheme as XML filetype () 2025-03-27 08:39:10 -05:00
Steven Vancoillie
cf7eb5517f
Add earl_grey theme () 2025-03-27 08:37:32 -05:00
Nik Revenco
593504bb27 feat: left padding 2 -> 1 2025-03-27 11:03:56 +00:00
Nik Revenco
3471d82f87 refactor: make padding more naive
no need for such a complex solution, this is already pretty good
2025-03-27 11:02:02 +00:00
Nik Revenco
1e2f1363bc feat: update welcome screen
1. remove `type ` prefix
2. add `<tab>` to themes point
2025-03-27 10:48:37 +00:00
Nik Revenco
b68aa35bf4 feat: change text of :theme in welcome message
_
2025-03-26 19:10:46 +00:00
Nik Revenco
871f12b751 fix: 2 panics
_

_
2025-03-26 15:04:15 +00:00
Nik Revenco
7e9bf8a3bb feat: shift the type to the left
_
2025-03-26 13:38:36 +00:00
Nik Revenco
810ac6023e feat: update dashboard 2025-03-26 13:34:20 +00:00
Nik Revenco
5640161e38 feat: Welcome Screen
_

_
2025-03-26 02:53:55 +00:00