WindSoilder
93e276cd9d
Make kill_to_line_end behave like emacs ( #1235 )
2021-12-07 01:44:04 +09:00
Blaž Hrastnik
35ac815409
Fix compilation
...
nix-direnv issues still mess with my shell..
2021-12-06 12:50:28 +09:00
Blaž Hrastnik
a2b22ec152
Use binary_search when looking up diagnostics
...
They're sorted by range so they should also be sorted by line
2021-12-06 12:48:25 +09:00
Blaž Hrastnik
cab09093dd
fix: Normalize backtab into shift-tab
...
Fixes #1150
2021-12-06 12:25:19 +09:00
Blaž Hrastnik
bf8437d098
clippy lint
2021-12-06 09:36:02 +09:00
Blaž Hrastnik
dc8df7ba21
Make thread_picker non-blocking
2021-12-06 09:35:59 +09:00
Blaž Hrastnik
2b4de41bf0
dap: Reply to RunInTerminal
2021-12-06 09:32:21 +09:00
Blaž Hrastnik
d5d1a9b1ae
Apply suggestions from code review
...
Co-authored-by: Gokul Soumya <gokulps15@gmail.com>
2021-12-06 09:32:11 +09:00
Jason Rodney Hansen
461cd20563
Small change
2021-12-05 16:22:58 +08:00
Jason Rodney Hansen
539c27e3f5
Remove Clone
derive
2021-12-05 16:22:58 +08:00
Jason Rodney Hansen
0b7911d921
Remove FormatError
2021-12-05 16:22:58 +08:00
Jason Rodney Hansen
31ed91dc2e
Don't increment for overlapping changes
2021-12-05 16:22:58 +08:00
Jason Rodney Hansen
584a31cd90
Used checked_add for years and months
2021-12-05 16:22:58 +08:00
Jason Rodney Hansen
c74cd48f38
Cleanup
2021-12-05 16:22:58 +08:00
Jason Rodney Hansen
febee2dc0c
No need to clone format
2021-12-05 16:22:58 +08:00
Jason Rodney Hansen
37e484ee38
Add support for time and more date formats
2021-12-05 16:22:58 +08:00
Jason Rodney Hansen
c9641fcced
Add Increment
trait
2021-12-05 16:22:58 +08:00
Jason Rodney Hansen
2a0c685a78
Remove dependency on gregorian crate
2021-12-05 16:22:58 +08:00
Jason Rodney Hansen
64afd54654
Cleanup
2021-12-05 16:22:58 +08:00
Jason Rodney Hansen
cc04fabe40
Formatting
2021-12-05 16:22:58 +08:00
Jason Rodney Hansen
57a8e79940
No default features for gregorian
2021-12-05 16:22:58 +08:00
Jason Rodney Hansen
95cfeed2fa
Add support for incrementing year and month
2021-12-05 16:22:58 +08:00
Jason Rodney Hansen
c1f6167e37
Add support for dates for increment/decrement
2021-12-05 16:22:58 +08:00
ath3
11a2f9ac31
Assert in release mode too on duplicate keys ( #1228 )
2021-12-05 13:04:10 +09:00
Oskar Nehlin
a06871a689
feat: Make it possible to keybind TypableCommands
( #1169 )
...
* Make TypableCommands mappable
* Fix pr comments
* Update PartialEq implementation
2021-12-04 20:17:18 +05:30
ath3
70c62530ee
Support env flags in shebang ( #1224 )
2021-12-04 00:13:24 +09:00
chunghha
038a6ce22c
rose_pine_dawn.toml colorscheme ( #1226 )
...
* adds: rose_pine_dawn.toml colorscheme
* chore: define ui.statusline.inactive colors of rose_pine
2021-12-03 23:14:03 +09:00
WindSoilder
cf40e61b0a
add more monokai pro filter themes ( #1220 )
2021-12-03 23:13:21 +09:00
Blaž Hrastnik
5545f8ebb5
dap: Add RunInTerminal reverse request, support replying to requests
2021-12-03 16:09:28 +09:00
Blaž Hrastnik
bcf70d8e67
dap: All of these calls don't need &mut
2021-12-03 13:29:46 +09:00
Blaž Hrastnik
43fbb6d965
Make dap_start non-blocking
2021-12-03 13:27:00 +09:00
Blaž Hrastnik
371c84f70b
cargo fmt
2021-12-03 12:51:55 +09:00
Blaž Hrastnik
34f46e7502
Bump rust to 1.57, fix new lint failures
2021-12-03 12:48:07 +09:00
Blaž Hrastnik
032aaffa15
dap: Split call/request in the same way LSP does
2021-12-03 12:41:07 +09:00
Blaž Hrastnik
2dbf966293
dap: Start working on runInTerminal support
2021-12-03 11:59:44 +09:00
Blaž Hrastnik
0d73a4d23a
dap: console = internalConsole is actually not a lldb-vscode param
2021-12-03 10:18:23 +09:00
Blaž Hrastnik
d31bef7fea
lsp: Don't panic if init fails
...
We correctly filter out the language server inside Document to ignore it
if the capabilities are missing, so this way it'll simply ignore the
errored out LSP rather than panicking.
2021-12-03 10:05:27 +09:00
Blaž Hrastnik
01f7a312d0
Address new lint on 1.57
2021-12-03 10:02:44 +09:00
Blaž Hrastnik
a45df12699
nix: Update to lld 13, drop flake-compat (was unused)
2021-12-03 10:02:07 +09:00
Blaž Hrastnik
119dee2980
fix: Correctly detect empty transactions
...
Fixes #1221
2021-12-02 23:49:54 +09:00
WindSoilder
27ffc79c44
Add monokai pro theme ( #1206 )
...
* add monokai_pro theme
* add monokai_pro theme
* claim the inspired theme and original author
* make diagnostic underlined
2021-12-02 13:51:27 +09:00
Ivan Tham
e2b428cc2d
Add last modified file (gm) ( #1093 )
2021-12-02 13:46:57 +09:00
Bob
418b833d2b
fix goto_window index crash ( #1207 )
2021-12-02 13:42:34 +09:00
Blaž Hrastnik
d14ca05d6b
Simplify some cases that use return None to use ?
2021-12-02 10:31:19 +09:00
Blaž Hrastnik
de5e5863aa
dap: Use cursor_line over cursor + char_to_line
2021-12-02 10:24:17 +09:00
Blaž Hrastnik
54f8e5c9c3
dap: Fix an off-by-one and move the function over to commands/dap
2021-12-02 10:22:17 +09:00
Blaž Hrastnik
573cb39926
dap: Remove some unwraps
2021-12-02 10:20:19 +09:00
Blaž Hrastnik
ffc89e483b
Mark some more TODOs as resolved
2021-12-01 19:28:29 +09:00
Blaž Hrastnik
dfd499f5a9
dap: Highlight line of current stack frame
2021-12-01 19:23:42 +09:00
Blaž Hrastnik
c955eaa6cd
Revert "Improve dedent behavior, make kill_to_line_end behave like emacs ( #1173 )"
...
1. pressing o on a line with no indentation will open a new line as
expected, but esc will then delete the line altogether
2. the kill_line behavior happens after insert mode changes are already
commited to history, and the change isn't commited. pressing u after
this will break highlighting & undo history
This reverts commit c08d2fae58
.
2021-12-01 13:40:54 +09:00