CossonLeo
a69caff450
search_impl will only align cursor center when it isn't in view ( #959 )
3 years ago
CossonLeo
f96be0fcbc
add solarized_light theme ( #1010 )
...
* add solarized_light theme
* solarized_light add constant.numeric
3 years ago
Omnikar
a424ef4e20
Use default `languages.toml` if user's is invalid ( #994 )
3 years ago
dependabot[bot]
eb68cd3767
build(deps): bump serde_json from 1.0.68 to 1.0.69 ( #1030 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.68 to 1.0.69.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.68...v1.0.69 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
81015266d9
build(deps): bump anyhow from 1.0.44 to 1.0.46 ( #1029 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.44 to 1.0.46.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.44...1.0.46 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Blaž Hrastnik
e18198aeb2
Revert "fix(core): stop merging array toml config values ( #1004 )"
...
It breaks languages.toml merging
This reverts commit 4304b52ff8
.
3 years ago
Blaž Hrastnik
f804ed3192
Make shebangs optional, they don't make sense outside of scripts
3 years ago
Curiosidad-Racional
41fc326325
Fix panicked missing field `shebangs` ( #1025 )
...
Fix the error:
```
thread 'main' panicked at 'Could not parse merged (built-in + user) languages.toml: Error { inner: ErrorInner { kind: Custom, line: None, col: 0, at: None, message: "missing field `shebangs`", key: ["language"] } }', helix-term/src/application.rs:87:14
```
3 years ago
Mateusz S. Szczygieł
3f0345ff58
glsl support ( #993 )
...
* add glsl language support
* glsl: use indents.toml file
3 years ago
Blaž Hrastnik
549cdee561
Refactor shebang detection to reuse the loaded buffer
3 years ago
ath3
77dbbc73f9
Detect filetype from shebang line ( #1001 )
3 years ago
CossonLeo
29e6849413
Add LSP rename_symbol (space-r) ( #1011 )
...
improve apply_workspace_edit
3 years ago
LollipopFt
bf4c70e027
added Down keymapping. ( #1019 )
3 years ago
ath3
30744646cb
Perl support ( #978 )
3 years ago
Blaž Hrastnik
cdc2107bca
fix : #896 broke some of the default highlights
3 years ago
Blaž Hrastnik
82ff5b0ab6
Specify capacity on toggle_line_comments
3 years ago
Blaž Hrastnik
8b85903116
wip
3 years ago
jgart
4010b327e2
Adds mint language server ( #974 )
3 years ago
Daniel S Poulin
1e793c2bbf
Adds single and double quotes to matching pairs ( #995 )
...
This enables `mm` to work on quote characters as well as highlighting of
matching quote when on it.
3 years ago
Omnikar
a252ecd8c8
Add WORD textobject ( #991 )
...
* Add WORD textobject
* Document WORD textobject
3 years ago
Gokul Soumya
e0e227d172
Touch up docs for adding new language ( #1002 )
3 years ago
Carter Snook
4304b52ff8
fix(core): stop merging array toml config values ( #1004 )
3 years ago
Blaž Hrastnik
09f5796537
dap: Simplify get_breakpoint_at_current_line
3 years ago
Blaž Hrastnik
c39d9f44a0
dap: Simplify debug_parameter_prompt
3 years ago
Blaž Hrastnik
3042ff3e5a
dap: Clean up dap_start_impl, no need to clone arg keys
3 years ago
Blaž Hrastnik
9963a5614d
dap: Minor simplifications
3 years ago
Blaž Hrastnik
65868081fc
dap: Simplify launch & start
...
There's no need to re-detect language config, just use the one available
on the document.
3 years ago
Blaž Hrastnik
4f2a01cc09
dap: Error implements Display so we can format with {}
3 years ago
Blaž Hrastnik
2bd8a9b39d
dap: Consistently rename type as ty
3 years ago
Blaž Hrastnik
31b431bfdd
dap: Remove Deref for DebuggerCapabilities
...
Looks like a mistake
3 years ago
Blaž Hrastnik
9dd17c46a2
dap: Avoid cloning old_breakpoints if we are immediately replacing them
3 years ago
Blaž Hrastnik
757babb1b4
dap: Avoid cloning *entire* stack frames when picking a thread
3 years ago
Blaž Hrastnik
5803de2067
dap: Simplify more calls
3 years ago
Blaž Hrastnik
155c608237
dap: Drop examples
3 years ago
Blaž Hrastnik
9baddc825d
dap: Get rid of excessive cloning
3 years ago
Blaž Hrastnik
fd9b826f2c
dap: Inline empty completer
3 years ago
Blaž Hrastnik
5938ab1bf1
dap: Fully extract template parameter prompts
3 years ago
Blaž Hrastnik
3b8d5102ac
Make picker take the whole context, not just editor
3 years ago
Blaž Hrastnik
64bb1f7563
dap: Extract out variable rendering
...
Will improve on the UI later
3 years ago
Blaž Hrastnik
29fe504398
book: Mention git submodule sync too
3 years ago
ammkrn
acced82be6
feat(book/src/languages.md) ( #979 )
...
* feat(book/src/languages.md)
Add a section in the book about language-specific settings and the languages.toml file.
* Update book/src/languages.md
Co-authored-by: Gokul Soumya <gokulps15@gmail.com>
* feat(book/src/guides/adding_languages.md)
Add book section on adding a new language to the compile-time/root languages.toml file.
* Update book/src/guides/adding_languages.md
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Update book/src/guides/adding_languages.md
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* refactor(revise book/src/languages.md)
Change the book page on language settings to match suggestions by archseer and mention both toml files.
Co-authored-by: Gokul Soumya <gokulps15@gmail.com>
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
3 years ago
Omnikar
ed23057ff8
Launch with defaults upon invalid config/theme ( #982 )
...
* Launch with defaults upon invalid config/theme
* Startup message if there is a problematic config
* Statusline error if trying to switch to an invalid theme
* Use serde `deny_unknown_fields` for config
3 years ago
Blaž Hrastnik
e2a23ac0b5
If there is no live debugger, treat breakpoints as unverified
3 years ago
Blaž Hrastnik
2e1aa5f15b
Fix compilation
3 years ago
Blaž Hrastnik
a5ea61433c
dap: Bump helix-core
3 years ago
Blaž Hrastnik
09d8c139af
dap: Enable sticky mode for the submode
3 years ago
Blaž Hrastnik
14a3502cf1
dap: Move template selection into a picker
...
It's time to move all these components out of ui/editor.rs
3 years ago
Blaž Hrastnik
f2b709a3c3
Merge branch 'master' into debug
3 years ago
Blaž Hrastnik
f979bdc442
Specify capacity on toggle_line_comments
3 years ago
Blaž Hrastnik
2c1313c064
Specify vector capacity on surround_add
3 years ago