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
Pascal Kuthe
5537e68b5e
add changes
and ghost_transaction
to DocumentDidChange events
2024-12-17 13:34:40 -05:00
Pascal Kuthe
c8c0d04168
add snippet system to helix core
2024-12-17 13:34:39 -05:00
Pascal Kuthe
db959274d4
Add range type to helix stdx
2024-12-17 13:34:39 -05:00
dependabot[bot]
312c64f0c2
build(deps): bump the rust-dependencies group with 10 updates ( #12277 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-16 18:48:13 -06:00
André Sá
67535804a5
Fix build from source with Spade tree-sitter grammar ( #12276 )
2024-12-16 14:44:28 -06:00
Michael Davis
bae6a58c3c
Add block-comment-tokens configuration for Java
...
Ref https://github.com/helix-editor/helix/pull/12266#issuecomment-2546370787
2024-12-16 14:02:35 -05:00
Integral
250d9fa8fe
Avoid allocating the --help
message ( #12243 )
2024-12-16 11:16:48 -06:00
Aaalibaba
3b36cf1a15
Expand tildes in :read
command ( #12271 )
2024-12-16 11:10:35 -06:00
Nikita Revenco
99fdbce566
docs: remove mention that -
requires special handling ( #12250 )
2024-12-16 10:01:14 -06:00
David Else
9b14750e56
Add ltex-ls-plus language server ( #12251 )
2024-12-16 09:37:49 -06:00
TornaxO7
4e5b0644a2
language: add comment token for java files ( #12266 )
2024-12-16 09:24:04 -06:00
b03983e33a
Merge remote-tracking branch 'helix-pull/pull-diagnostics'
2024-12-14 20:52:28 +01:00
SofusA
1c36972c79
Merge branch 'helix-editor:master' into pull-diagnostics
2024-12-14 16:36:41 +01:00
Takumi Matsuura
e14c346ee7
Fix panic in kill_to_end_of_line
when handling multibyte characters ( #12237 )
2024-12-13 14:04:52 -06:00
RoloEdits
617f538d41
feat(highlights): add COMPLIANCE
to error
( #12244 )
2024-12-13 13:26:08 -06:00
Yuki Kobayashi
ce133a2889
languages(v): use vlang/v-analyzer instead of v-analyzer/v-analyzer ( #12236 )
...
* use vlang/v-analyzer instead of v-analyzer/v-analyzer
* revert rev, because CI failed (couldn't repro working query-check locally, so not sure if this will work)
2024-12-13 12:09:24 +09:00
130a3b61ab
Merge remote-tracking branch 'filebrowser/add-file-browser'
2024-12-11 21:04:28 +01:00
TornaxO7
89a7cde2f0
Fix continuing comment token for first line ( #12215 )
2024-12-10 13:24:34 -06:00
TornaxO7
51ac3e05e0
doc: fix default value in doc for continue-comments
( #12235 )
2024-12-10 13:19:31 -06:00
TornaxO7
5005c14e99
Add config option for continue commenting ( #12213 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-12-09 17:31:41 -06:00
Michael Davis
2f74530328
helix-lsp-types: Remove Cargo.lock
...
This lockfile is unused since this crate was added to the workspace and
can be removed.
Closes #12227
2024-12-09 17:14:38 -05:00
Tshepang Mbambo
a1a5faebef
typo ( #12224 )
2024-12-09 12:23:30 -06:00
Nikita Revenco
9bf3262152
refactor: evaluate enable_diagnostics first
2024-12-09 15:55:43 +00:00
Nikita Revenco
4b5da9e667
fix: do not pass extra argument
2024-12-09 14:27:52 +00:00
Nikita Revenco
2b28ce94be
fix: do not use a Cell for self.active
2024-12-09 14:23:59 +00:00
Nikita Revenco
069ca339a6
feat: complete implementation for toggle diagnostics option
2024-12-09 14:18:17 +00:00
Nikita Revenco
be3dea5468
feat: attempt at getting config option to disable diagnostics working
2024-12-09 13:57:54 +00:00
Nikita Revenco
8271a35be2
feat: config option for toggling diagnostics
2024-12-09 04:45:28 +00:00
Nikita Revenco
08deeb48b8
chore: remove pointless comment
2024-12-08 13:47:00 +00:00
Nikita Revenco
db1d84256f
fix: report correct amount of files opened and improved error message when Helix can't parse directory as file ( #12199 )
...
* feat: improve information on the amount of files loaded
* refactor: naming consitency Doc and not Buf
* fix: correct name of method
* chore: appease clippy
* feat: more human error information when Helix cannot start
* refatcor: use if guard on match arm
2024-12-08 20:14:29 +09:00
Michael Davis
271c32f2e6
Support bindings with the Super (Cmd/Win/Meta) modifier ( #6592 )
...
Terminals which support the enhanced keyboard protocol send events for
keys pressed with the Super modifier (Windows/Linux key or the Command
key). The only changes that are needed to support this in Helix are:
* Mapping the modifier from crossterm's KeyModifiers to Helix's
KeyModifiers.
* Representing and parsing the modifier from the KeyEvent text
representation.
* Documenting the ability to remap it.
When writing keybindings, use 'Meta-', 'Cmd-' or 'Win-' which are all
synonymous. For example:
[keys.normal]
Cmd-s = ":write"
will trigger for the Windows or Linux keys and the Command key plus 's'.
2024-12-08 12:35:14 +09:00
Nikita Revenco
f44be74435
feat: merge-with-commandline
config option
2024-12-06 15:14:25 +00:00
Nikita Revenco
13d2cd1293
feat: option to Merge statusline and Command line into 1 line
2024-12-06 14:51:13 +00:00
Tomas Zemanovic
fc9968bd4b
fix: allow to parse "-" as a key code ( #12191 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-12-06 08:46:38 -06:00
Nikita Revenco
1610118d13
docs: add toggle-diagnostic command info
2024-12-06 13:46:45 +00:00
Nikita Revenco
a1a2cce23e
feat: add :toggle-diagnostics
command to hide diagnostics
2024-12-06 13:42:21 +00:00
Nikita Revenco
0dce39e0df
feat: add command to toggle diagnostics does not work
2024-12-06 12:51:55 +00:00
Michael Davis
28953ef40f
Simplify change_current_directory
and remove extra allocs
2024-12-05 18:50:31 -05:00
Nikita Revenco
93deb1f6ae
feat: :cd -
changes to the previous working directory ( #12194 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-12-05 17:40:37 -06:00