Omnikar
15af3a3778
Use `anyhow::bail`
3 years ago
Omnikar
833e3e1a25
Fix lint error
3 years ago
Omnikar
3d2e7ad429
Simplify
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
Omnikar
ababd05d8b
Fix typo
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
Omnikar
00f70e9ba6
Add documentation
...
* `copy_selection_on_prev_line`
* `extend_char_left`
* `extend_char_right`
* `extend_line_down`
* `extend_line_up`
* `move_char_left`
* `move_char_right`
* `move_line_down`
* `move_line_up`
* `no_op`
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
f5b53e074c
Help command WIP
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
Blaž Hrastnik
1a1685acf7
Simplify current!(..).1 into doc!()
3 years ago
Blaž Hrastnik
e80708eba7
Make sure document diagnostics are sorted
3 years ago
Blaž Hrastnik
0f4cd73000
Simplify goto_*_diagnostic commands
3 years ago
Blaž Hrastnik
f659e1178a
minor: view!(..).doc is slightly more efficient than current!(..).1.id()
3 years ago
Blaž Hrastnik
4c1321b3b6
minor: Extend search was decclared twice in the keymap
3 years ago
Blaž Hrastnik
b81a554424
Retain range direction on search
...
Co-authored-by: CossonLeo <20379044+cossonleo@users.noreply.github.com>
3 years ago
Blaž Hrastnik
6431b26a6a
Implement Selection::replace to replace a single range
...
Fixes #985
Co-authored-by: Daniel S Poulin <crimsonmage+github@gmail.com>
3 years ago