Nikita Revenco
ef2b035e01
refactor: increase readability
...
split logic into variables and add comments
2025-02-28 15:07:44 +00:00
Nikita Revenco
d4e4049ab7
fix: add extra separator character if at camelCase boundary
2025-02-28 15:07:44 +00:00
Nikita Revenco
28b77e2ae3
fix: trim leading whitespace
2025-02-28 15:07:44 +00:00
Nikita Revenco
58177afb2a
refactor: remove complex test helper definition, use for loop instead
2025-02-28 15:07:44 +00:00
Nikita Revenco
efab176b06
docs: document new case conversion static commands
2025-02-28 15:07:44 +00:00
Nikita Revenco
fc199e3d8c
refactor: remove unnecessary parameter
2025-02-28 15:07:44 +00:00
Nikita Revenco
47826f53a4
refactor: better function naming
2025-02-28 15:07:44 +00:00
Nikita Revenco
1821000acd
refactor: extract common functions
2025-02-28 15:07:44 +00:00
Nikita Revenco
79d3e10c5c
refactor: title camel and pascal into a single function
2025-02-28 15:07:44 +00:00
Nikita Revenco
3414183ab6
refactor: move functon
2025-02-28 15:07:44 +00:00
Nikita Revenco
820963cb90
fix: failing test is now fixed
2025-02-28 15:07:44 +00:00
Nikita Revenco
3cab65f330
fix: ignore leading whitespaces
2025-02-28 15:07:44 +00:00
Nikita Revenco
1df5cb6c0d
fix: add separator on case change
2025-02-28 15:07:44 +00:00
Nikita Revenco
63161cee21
fix: incorrect test
2025-02-28 15:07:44 +00:00
Nikita Revenco
9047fafeae
test: comment out failing tests
2025-02-28 15:07:44 +00:00
Nikita Revenco
75cd953c30
feat: correct implementation for pascal_case and camel_case
2025-02-28 15:07:44 +00:00
Nikita Revenco
ff8c1df71d
feat: correct implementations for kebab, snake and title case
2025-02-28 15:07:44 +00:00
Nikita Revenco
f1cf46f022
feat: better implementation of title_case
2025-02-28 15:07:44 +00:00
Nikita Revenco
355b2ba290
fix: switch to lower|upper case is flipped
2025-02-28 15:07:44 +00:00
Nikita Revenco
c1be961b93
feat: implementations for kebab case and snake case
2025-02-28 15:07:44 +00:00
Nikita Revenco
b96e177ec7
fix: map switch_to_title_case
2025-02-28 15:07:44 +00:00
Nikita Revenco
42e150293a
feat: `switch_to_title_case`
2025-02-28 15:07:44 +00:00
Nikita Revenco
63f82c7bfa
feat: 5 functions to change case, lower, alternate, upper, pascal & camel
2025-02-28 15:07:44 +00:00
Nikita Revenco
ab4ad09dbe
feat: basic implementation for pascal case
2025-02-28 15:07:44 +00:00
Nikita Revenco
7dd782579e
feat: remove extra dependency
2025-02-28 15:07:39 +00:00
Nikita Revenco
f88364329a
feat: wording
...
Co-authored-by: Filip Dutescu <filip.dutescu@gmail.com>
2025-02-28 15:07:34 +00:00
Nikita Revenco
fb5a84ecfa
docs: remove accidentally pasted code
2025-02-28 15:07:34 +00:00
Nikita Revenco
7327393d80
feat: add case-mode section
2025-02-28 15:07:34 +00:00
Nikita Revenco
d0a3ae8a90
feat: add commands for working with different cases
2025-02-28 15:07:34 +00:00
Michael Davis
0efa8207d8
Rewrite command line parsing, add flags and expansions ( #12527 )
...
Co-authored-by: Pascal Kuthe <pascalkuthe@pm.me>
2025-02-26 19:50:15 -06:00
may
e1c7a1ed77
remove unnecessary allocations in switch_case ( #12786 )
2025-02-26 19:03:29 -06:00
Michael Davis
7bebe0a70e
Highlight file picker directories with 'ui.text.directory'
...
This applies the same styling as the parent commit to the file pickers.
2025-02-26 19:19:37 -05:00
Nik Revenco
682967d328
feat: Improve look of Global Search Picker ( #12855 )
...
Co-authored-by: Poliorcetics <poliorcetics@users.noreply.github.com>
Co-authored-by: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-02-26 18:09:57 -06:00
Mykyta
1e8774a030
Added missing CSS highlight Tree Sitter Scopes ( #12497 )
2025-02-26 17:51:36 -06:00
Daniel Fichtinger
c36408457a
feat(kdl): add `kdlfmt` as formatter for kdl ( #12967 )
2025-02-26 17:50:36 -06:00
Branch Vincent
1dd8a19ad6
Add pkl-lsp ( #12962 )
2025-02-26 17:45:10 -06:00
tshaynik
43eab10a4c
languages.toml: add starpls as Starlark language server ( #12958 )
2025-02-26 17:43:16 -06:00
Daniel Fichtinger
83d4ca41cc
feat: added comment textobject to toml ( #12952 )
2025-02-26 17:40:34 -06:00
SofusA
534d0907d3
Update c-sharp queries ( #12948 )
2025-02-26 17:40:16 -06:00
Daniel Fichtinger
bb3af143f1
feat: language support for mail files ( #12945 )
2025-02-26 17:33:36 -06:00
wcampbell
26cb3c20e7
Accept more scons as python language ( #12943 )
2025-02-26 17:31:23 -06:00
Bang Lee
69f25a85da
Update languages.toml to add astro-ls ( #12939 )
2025-02-26 17:30:55 -06:00
Dmitriy Sokolov
8cb0d869e6
feat(lsp): add protobuf language servers ( #12936 )
2025-02-26 17:30:26 -06:00
David Vogt
c98302a543
feat(lsp): add container name as a column in the symbol pickers ( #12930 )
2025-02-26 17:28:34 -06:00
Roberto Vidal
0ba2e05a6f
fix: escape percent character when yanking to search register ( #12886 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-02-26 17:22:41 -06:00
Michael Davis
e1060a2785
queries: Fix precedence in Erlang highlights
2025-02-26 10:55:00 -05:00
Michael Davis
fcddd50325
Set theme before opening documents
...
This is not consequential now but when we switch to the new highlighter
we will want the theme to be set (and the loader's `scopes` to be set
based on the theme) before parsing a document. Previously `set_theme`
came after the loading of documents, so documents would be missing
locals highlights after being loaded and before the first edit.
2025-02-26 10:49:36 -05:00
dependabot[bot]
35575b0b0f
build(deps): bump the rust-dependencies group with 6 updates ( #12956 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-24 18:05:24 -06:00
Michael Davis
7e87a36e93
queries: Fix module highlights in koto
2025-02-24 12:49:43 -05:00
Michael Davis
6182bdc860
xtask: Inline query and theme checks into main module
...
This reverts cosmetic changes from <https://redirect.github.com/helix-editor/helix/pull/3234 >:
that PR split the tasks into separate modules but the query and theme
check tasks are small enough that splitting them into separate files (or
modules) adds unnecessary friction.
This change also adds `theme-check` to the help message for the xtask
crate.
2025-02-24 10:51:28 -05:00