Denys Rybalka
268eac8c00
Open file browser in buffer's directory
2024-12-23 18:59:40 +01:00
Denys Rybalka
7902fc5631
Add parent folder to file browser
2024-12-23 18:59:40 +01:00
Denys Rybalka
02edda12e9
Pass directory content into picker directly
2024-12-23 18:59:40 +01:00
Denys Rybalka
bb1722a528
Implement opening of folders
2024-12-23 18:59:40 +01:00
Denys Rybalka
b1dcd96ab5
Add file browser
2024-12-23 18:59:39 +01:00
Nikita Revenco
7c40fbf555
chore: apply suggestion from clippy lint
2024-12-23 15:41:13 +00:00
Nikita Revenco
d120a35740
feat: use padding for color swatches
2024-12-23 13:57:52 +00:00
Nikita Revenco
ca5c96b982
refactor: use let else statement
2024-12-23 13:54:12 +00:00
Nikita Revenco
cd9512cbce
refactor: use let else statement
2024-12-23 13:45:57 +00:00
Nikita Revenco
c7520c3550
refactor: rename variable
2024-12-23 13:43:10 +00:00
Nikita Revenco
6db63d4632
refactor: use let else statement
2024-12-23 13:41:28 +00:00
Nikita Revenco
54ff7a561f
refactor: check for is_none
...
Co-authored-by: TornaxO7 <tornax@proton.me>
2024-12-23 13:36:59 +00:00
Michael Davis
ea17b9edb7
release docs: Fix git push
command for the release tag
...
Git can be configured to push tags with `push.followTags` but this is
not the default. Pushing the tag explicitly with `git push <remote>
<tag>` is generally considered safer anyways since it only attempts to
push the desired tag.
2024-12-22 09:48:32 -05:00
Michael Davis
4f63a46e14
minor: Remove redundant condition in shell pipe trimming
...
`output.ends_with('\n')` implies `!output.is_empty()`
Connects #11183
2024-12-22 09:42:37 -05:00
Nikita Revenco
ac4c017165
feat: autohelp for delete, replace and add surrounds ( #12262 )
2024-12-22 08:17:44 -06:00
Maurice Hieronymus
b946b21b01
fix: Respect workspace-lsp-roots on doc opening ( #12223 )
...
When a new language server is started, find_lsp_workspace is called
with LanguageConfiguration::workspace_lsp_roots as the root_dirs.
This behavior is different when a new document is opened.
find_lsp_workspace is called with editor::Config::workspace_lsp_roots
which is never set.
This leads to a bug where workspace-lsp-roots is not respected when
opening a new document. This commit fixes this bug.
2024-12-22 08:08:41 -06:00
Nikita Revenco
ba6e6dc3dd
Colors for items in the completion menu ( #12299 )
2024-12-20 10:16:15 -06:00
Nikita Revenco
5f59c191f5
refactor: merge into one statement
2024-12-20 16:10:41 +00:00
Nikita Revenco
fbdfe74b0c
docs: mention display-color-swatches
2024-12-20 16:06:59 +00:00
cornishon
a91263d604
Odin textobjects ( #12302 )
...
Co-authored-by: Adam Zadrożny <zadroznyadam@protonmail.com>
2024-12-20 09:59:28 -06:00
Nikita Revenco
253bdeffc7
perf: use with_capacity
since we know size of the vec
2024-12-20 15:58:49 +00:00
Ian Hobson
06d0f33c94
Add Koto language support ( #12307 )
2024-12-20 09:56:13 -06:00
Eduardo Rittner Coelho
eaff0c3cd6
Document diagnostic severity levels ( #12306 )
2024-12-20 09:47:06 -06:00
uncenter
1e9412269a
Sync Catppuccin theme changes ( #12304 )
2024-12-20 09:43:45 -06:00
Nikita Revenco
857467f8da
feat: add space
2024-12-20 15:07:39 +00:00
Nikita Revenco
105be47e8a
refactor: remove unused imports
2024-12-20 14:57:41 +00:00
Nikita Revenco
0f6e008646
style: final changes, moving around structs
2024-12-20 14:56:27 +00:00
Nikita Revenco
3f8731f003
refactor: extract ColorSwatch into a separate struct
2024-12-20 14:46:10 +00:00
Nikita Revenco
0c50ce1432
refactor: move inlay hints computation function earlier
2024-12-20 14:35:55 +00:00
Nikita Revenco
0ce04ea455
feat: move inlay_hints computations earlier
2024-12-20 14:35:03 +00:00
Nikita Revenco
0b71472406
refactor: compute_lines function
2024-12-20 14:32:32 +00:00
Gabriel Dinner-David
cc71969884
propogate the colours
2024-12-20 03:34:49 -05:00
Gabriel Dinner-David
68c52a2435
hack the text_decorations to make this work
2024-12-19 23:46:17 -05:00
Nikita Revenco
9185448259
feat: remove unneeded comment
2024-12-19 23:23:55 +00:00
Nikita Revenco
c901c17ef8
feat: use different color
2024-12-19 21:20:51 +00:00
Nikita Revenco
1c3caf525e
feat: basic implementation
2024-12-19 21:09:05 +00:00
Nikita Revenco
355e381626
feat: use ui.text.directory
for path completion item if its a folder ( #12295 )
2024-12-19 14:36:54 -06:00
Tobias Hunger
cbc06d1f15
chore: Update slint tree-sitter grammar to version 1.9 ( #12297 )
2024-12-19 10:16:12 -06:00
Eduardo Rittner Coelho
9e4da4b950
Show parser availability in --health [LANG] ( #12228 )
2024-12-18 11:21:58 -06:00
Christian Schneider
13e5a2ee5a
Outdent array literals for php [] ( #12286 )
...
Co-authored-by: Christian Schneider <schneider@search.ch>
2024-12-18 08:52:20 -06:00
David Else
0134bb7063
Update dark_plus theme for inactive text and improve jump label ( #12289 )
2024-12-18 08:32:41 -06:00
Peter Ingram
ec65cc4913
Adds colored directories to everforest themes ( #12287 )
...
Co-authored-by: Peter Ingram <p.ingram@mrx.technology>
2024-12-18 08:31:40 -06:00
Nikita Revenco
91a5d407da
Allow theming directory prompt completions ( #12205 )
2024-12-17 21:13:42 -06:00
Michael Davis
6eb186eb7b
helix-lsp-types: use bitflags::bitflags
rather than extern crate
...
This seems to be a historical artifact in `lsp_types` - we can use a
regular `use` statement to pull in the `bitflags!` macro rather than
an external crate definition. This fixes rust-analyzer's ability to find
the macro at least on rust-analyzer 2024-02-26.
2024-12-17 15:42:36 -05:00
Michael Davis
1980bd5992
helix-lsp-types: Prefer crate::Url
to url::Url
...
This is a cosmetic change to replace all direct `use`s of the `url::Url`
type in the `helix-lsp-types` crate with `use crate::Url;`. The types
are the same type currently: this refactor will make a future
replacement of the Url type less noisy.
Connects https://github.com/helix-editor/helix/pull/11889
2024-12-17 15:42:28 -05:00
Tim Sampson
cc3b77b584
dockerfile: bump tree-sitter grammar to gain support for heredocs ( #12230 )
2024-12-17 13:26:49 -06:00
Christian Schneider
fcded6ce1e
Trim trailing colons from paths to allow copy/pasting git grep -n output ( #9963 )
...
Co-authored-by: Christian Schneider <schneider@search.ch>
2024-12-17 13:02:06 -06:00
Pascal Kuthe
1badd9e434
implement snippet tabstop support
2024-12-17 13:34:40 -05:00
Pascal Kuthe
66fb1e67c0
add fallback onNextKey
...
adds a variant of on_next_key callbacks that are only called when no other
mapping matches a key
2024-12-17 13:34:40 -05:00
Pascal Kuthe
609c29bf7e
add DocumentFocusLost event
2024-12-17 13:34:40 -05:00