Gokul Soumya
8e07e1b898
Alert if LSP is inactive when command is invoked ( #1703 )
3 years ago
Bram
40eb1268c7
Close some popups automatically ( #1285 )
...
* Add Event::Used to use event callback without consuming
* Close popup if contents ignored event
* collect event results before executing callbacks
* don't add new result variant, use Ignored(..) instead
* break in match cases
* Make auto_close configurable
* fix merge
* auto close hover popups
* fix formatting
3 years ago
Alex
d5ba0b5162
Allow separate styles for markup headings ( #1618 )
...
* update markdown highlighting to use separate heading themes
* remove markdown theme scopes in ui
3 years ago
Blaž Hrastnik
a449156702
Extract a lsp position helper
3 years ago
Blaž Hrastnik
5af9136aec
Extract some duplication in lsp goto_ calls
3 years ago
Blaž Hrastnik
1cd710fe01
Extract jump_to_location
3 years ago
Blaž Hrastnik
4e845409b6
Extract a common "language server or return" macro
3 years ago
Blaž Hrastnik
c06155ace4
Extract a helper function for lsp::Location
3 years ago
Blaž Hrastnik
504d5ce8bd
Move most LSP specific commmands to commands::lsp
3 years ago
Blaž Hrastnik
7b1d682fe5
dap: fix runInTerminal with lldb-vscode
3 years ago
Blaž Hrastnik
4e1b3b12f3
Refactor symbol picker to share code
3 years ago
Cole Helbling
6118486eb2
helix-term: implement buffer completer
...
In order to implement this completer, the completion function needs to
be able to access the compositor's context (to allow it to get the
list of buffers currently open in the context's editor).
3 years ago
Blaž Hrastnik
d11b652139
Allow static strings in set_status/set_error so API is nicer
3 years ago
Blaž Hrastnik
fd0e4b1159
dap: Reduce amount of block_on uses
3 years ago
Blaž Hrastnik
1422449537
..
3 years ago
Blaž Hrastnik
eeb9b39857
Fix build on master
3 years ago
Blaž Hrastnik
bd549d8a20
Merge remote-tracking branch 'origin/master' into debug
3 years ago
Blaž Hrastnik
7ad8eaaef0
wip
3 years ago
Blaž Hrastnik
df3b88387b
dap: Improve variables UI
3 years ago
Blaž Hrastnik
dac317e620
TODO
3 years ago
Blaž Hrastnik
60c86eff89
dap: Simplify a few more statements that could use the debugger macro
3 years ago
Blaž Hrastnik
d8351d35ab
dap: Extract a macro that fetches a debugger or returns
3 years ago
Blaž Hrastnik
e98993d609
dap: Fix an off-by-one error when jumping
3 years ago
Blaž Hrastnik
bf8437d098
clippy lint
3 years ago
Blaž Hrastnik
dc8df7ba21
Make thread_picker non-blocking
3 years ago
Blaž Hrastnik
d5d1a9b1ae
Apply suggestions from code review
...
Co-authored-by: Gokul Soumya <gokulps15@gmail.com>
3 years ago
Blaž Hrastnik
43fbb6d965
Make dap_start non-blocking
3 years ago
Blaž Hrastnik
2dbf966293
dap: Start working on runInTerminal support
3 years ago
Blaž Hrastnik
d14ca05d6b
Simplify some cases that use return None to use ?
3 years ago
Blaž Hrastnik
de5e5863aa
dap: Use cursor_line over cursor + char_to_line
3 years ago
Blaž Hrastnik
54f8e5c9c3
dap: Fix an off-by-one and move the function over to commands/dap
3 years ago
Blaž Hrastnik
573cb39926
dap: Remove some unwraps
3 years ago
Blaž Hrastnik
ffc89e483b
Mark some more TODOs as resolved
3 years ago
Blaž Hrastnik
b4fd3148e3
These TODOs have been resolved
3 years ago
Blaž Hrastnik
8ffafb826f
dap: Rewrite breakpoints so that there's a single set maintained
3 years ago
Blaž Hrastnik
3633f85b38
Pass editor into render_view & gutter, reducing the number of params
3 years ago
Blaž Hrastnik
85b4410703
dap: Toggle breakpoints without changing selection, fix offset calc
3 years ago
Blaž Hrastnik
b55ca8fdb8
dap: Always edit breakpoints on the correct document
3 years ago
Blaž Hrastnik
0eadeab8c7
dap: Remove the prompt line parameter, use insert_str instead
3 years ago
Blaž Hrastnik
5f329a22c4
dap: Modify breakpoints in place with no cloning
3 years ago
Blaž Hrastnik
05d3ad4a0e
dap: Remove an excess clone on enable_exceptions
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
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