1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-28 08:13:17 +03:00
Commit Graph

923 Commits

Author SHA1 Message Date
Tae Won Ha
0065e0dd44
Merge remote-tracking branch 'origin/pr/874' into develop 2021-11-06 08:48:08 +01:00
Tae Won Ha
5972bbf6d2
Generate sources (did not produce changes) 2021-11-05 19:15:26 +01:00
Tae Won Ha
a67ad89cd7
Update SPM deps 2021-11-04 22:06:28 +01:00
solawing
65ff615dba feat: draw insert marked text without accutally into vim
this commit fixes following issues:

1. use `-`, `=`, `arrow key` to select candidate. which shouldn't be
   handle by vim
2. use `left`, `right` to move in marked text by word. which shouldn't
   be handle by vim directly
3. though inserting marked text directly into UGrid cells, bypass vim
   key mapping system, only the finall insertText be inserted into vim.
   so vim map like jk to esc won't affect input method.
   and when input i in normal mode when input method, I can press <CR>
   to confirm it and only i will send to vim.

 this is also the behaviour of mac terminal.
2021-10-31 17:27:30 +08:00
solawing
bb8b920d0c refactor: sink _unmarkText 2021-10-31 16:09:28 +08:00
solawing
918fc44889 chore: avoid crash in xcode 13.1 2021-10-31 16:09:28 +08:00
Raphael Luba
61cd8848dc Fix #750: incorrect cursor color when over search highlight 2021-06-23 23:27:07 +02:00
Tae Won Ha
dd955fb4f1
Remove Xcode warnings 2021-06-18 08:57:57 +02:00
Tae Won Ha
52d2aac3e0
Adapt to RxSwift 6.2 2021-06-18 08:55:23 +02:00
Tae Won Ha
b059010f55
Adapt to RxSwift 6.2 2021-06-18 08:54:53 +02:00
Tae Won Ha
7093d96b0f
Adapt to RxSwift 6.2 2021-06-18 08:54:21 +02:00
Tae Won Ha
d558d2c4cc
Adapt to RxSwift 6.2 2021-06-18 08:53:40 +02:00
Tae Won Ha
a793be2f53
Adapt to RxSwift 6.2 2021-06-18 08:53:23 +02:00
Tae Won Ha
f4626b7255
Adapt to RxSwift 6.2 2021-06-18 08:52:29 +02:00
Tae Won Ha
507e2d6973
Adapt to RxSwift 6.2 2021-06-18 08:51:22 +02:00
Tae Won Ha
6254fa99e4
Update RxSwift to 6.2 2021-06-18 08:41:16 +02:00
Tae Won Ha
d8439d8e64
Update deps
- up to RxSwift
2021-06-18 08:06:38 +02:00
Tae Won Ha
0ae565be95
GH-832 Re-revert neovim launching code 2021-02-20 14:06:48 +01:00
Tae Won Ha
f06fd354da
Adapt NvimView demo app to custom tabs 2021-02-20 13:50:43 +01:00
Tae Won Ha
d1787e23da
Fix support apps 2020-12-24 22:22:49 +01:00
Tae Won Ha
e6c0e543e4
Update nimble 2020-12-24 21:43:56 +01:00
Tae Won Ha
06afc5131d
Reformat 2020-12-24 17:48:27 +01:00
Tae Won Ha
5761687559
Update neovim 2020-12-24 16:00:26 +01:00
Tae Won Ha
b719809402
WIP 2020-12-24 13:21:35 +01:00
Tae Won Ha
9754fdc7bf
Restructure a bit 2020-12-24 12:15:36 +01:00
Tae Won Ha
be2895bbe4
Update neovim 2020-12-24 10:36:24 +01:00
Tae Won Ha
2d2108e74b
Add self 2020-12-20 16:06:56 +01:00
Tae Won Ha
2812877cee
Ignore error when setting guifont at the very beginning 2020-12-20 16:05:12 +01:00
Tae Won Ha
18a9c93e68
Update neovim 2020-12-20 15:53:11 +01:00
Tae Won Ha
9ee067a0d3
Move shell code to Commons 2020-12-20 15:24:57 +01:00
René Köcher
62be8668a5 vimFontSpec(fromFont:) and RemoteOption.fromFont() don't need Optionals 2020-12-20 12:07:40 +01:00
René Köcher
872d61b713 Add font(fromVimFontSpec:) as reversal to vimFontSpec(forFont:) 2020-12-20 11:54:45 +01:00
René Köcher
18742458a6 Include suggestions by @qvacua & apply swiftformat 2020-12-20 11:50:56 +01:00
René Köcher
a1d3d26765 Report invalid fonts back to NvimServer 2020-12-19 22:06:20 +01:00
René Köcher
1ca66cadf3 Add support to report option changes to NvimServer
Currently this is only implemented for font changes, but can be
extended to any other option added in the future.
2020-12-19 21:31:30 +01:00
René Köcher
84eef4a830 Implement support for 'set guifont' via optionSet.
This adds a framework to handle options set from NvimServer
and hooks into the optionSet() RPC api endpoint in NVimView.
Currently it handles `guifont` and `guifontwide` in the Server->View
direction. Changes are also reflected in VimR's Preferences dialog.

Not yet handled:
- sending the currently configured font as `guifont` to NvimServer
- sending an error to NvimSever if the font specification is invalid
- differenciation between `guifont` and `guifontwide`
2020-12-19 18:12:54 +01:00
Tae Won Ha
2ba1aaf526
Reformat 2020-12-12 21:48:43 +01:00
Tae Won Ha
5464229135
Reformat 2020-12-11 22:47:53 +01:00
Tae Won Ha
0b17d715dc
Set target for all queues 2020-12-11 22:43:59 +01:00
Tae Won Ha
55fd685c43
Reformat 2020-12-11 07:50:04 +01:00
Tae Won Ha
24922e78de
Reformat 2020-12-11 07:48:39 +01:00
Tae Won Ha
211e200ff4
Reformat 2020-12-10 22:01:51 +01:00
Tae Won Ha
91fe709e41
Reformat 2020-12-10 22:00:05 +01:00
Tae Won Ha
84c3362238
Reformat 2020-12-10 21:59:53 +01:00
Tae Won Ha
3166fe0b6c
Reformat 2020-12-10 21:59:34 +01:00
Tae Won Ha
0c49176474
Reformat 2020-12-10 21:58:38 +01:00
Tae Won Ha
a9e7d66d81
Reformat 2020-12-10 21:57:34 +01:00
Tae Won Ha
88d538fbc3
Reformat 2020-12-10 21:56:46 +01:00
Tae Won Ha
bebda22334
Reformat 2020-12-10 21:55:38 +01:00
Tae Won Ha
cd798dd2fb
Reformat 2020-12-10 21:54:59 +01:00
Tae Won Ha
b31a0e40e1
Reformat 2020-12-10 21:51:19 +01:00
Tae Won Ha
9d68cbddf1
Reformat 2020-12-10 21:50:54 +01:00
Tae Won Ha
da43da7ff0
Reformat 2020-12-10 21:50:40 +01:00
Tae Won Ha
78d95ce6b5
Reformat 2020-12-10 21:49:29 +01:00
Tae Won Ha
53ed730ec1
Reformat 2020-12-10 21:47:55 +01:00
Tae Won Ha
87436c1057
Reformat 2020-12-10 21:47:25 +01:00
Tae Won Ha
a601e22d83
Remove unnec' code 2020-12-10 18:16:27 +01:00
Tae Won Ha
44127691f2
Show warning 2020-12-10 07:29:30 +01:00
Tae Won Ha
baaf920089
Forward warning to main window 2020-12-09 22:14:51 +01:00
Tae Won Ha
6c7ff8a300
Get the error msg for tabclose 2020-12-09 22:05:01 +01:00
Tae Won Ha
e2a4fa713c
Add rudimentary closing 2020-12-09 08:26:11 +01:00
Tae Won Ha
128e573fd1
Fix selection background color 2020-12-07 21:24:24 +01:00
Tae Won Ha
f63f6cdb7e
Handle move tab to last index 2020-12-07 20:37:35 +01:00
Tae Won Ha
965637a3e2
Adapt example app 2020-12-06 21:23:23 +01:00
Tae Won Ha
17c13dc8bf
Handle reorder correctly 2020-12-06 20:45:07 +01:00
Tae Won Ha
f6a31ddc18
Implement drag reorder 2020-12-06 20:28:33 +01:00
Tae Won Ha
97eb7c8e49
Implement select 2020-12-06 19:50:05 +01:00
Tae Won Ha
e167fb7ddd
Reformat 2020-12-06 19:23:12 +01:00
Tae Won Ha
728974601a
Add stub select handler 2020-12-06 19:22:16 +01:00
Tae Won Ha
f0c9ff4a93
Handle tab resizing when title changes 2020-12-06 18:09:48 +01:00
Tae Won Ha
c550da8845
Display tabs 2020-12-06 16:50:49 +01:00
Tae Won Ha
0572cec9eb
WIP: Add tab representative 2020-12-06 16:08:12 +01:00
Tae Won Ha
438019bde1
Add dummy tabbar to main window 2020-12-06 13:27:42 +01:00
Tae Won Ha
7afcec5b98
Reformat 2020-12-06 13:03:30 +01:00
Tae Won Ha
b464ecf145
Forward tabbar param to NvimServer 2020-12-06 12:48:30 +01:00
Tae Won Ha
1f765f3b84
Add stub tabline handler 2020-12-06 10:29:31 +01:00
Tae Won Ha
ae606bb17c
wip 2020-12-06 09:19:34 +01:00
Tae Won Ha
c6ad5d0550
Use types locally 2020-12-06 08:42:46 +01:00
Tae Won Ha
13ebda767e
GH-812 Allow all fonts, but warn when variable width font is selected 2020-11-18 21:25:58 +01:00
Tae Won Ha
03b65167e0
Fix cursor coloring 2020-11-16 22:40:19 +01:00
Tae Won Ha
ac6bfb35cc
Reformat 2020-09-18 23:14:20 +02:00
Tae Won Ha
61d092e516
Reformat 2020-09-18 22:51:51 +02:00
Tae Won Ha
d9faae80c5
Reformat 2020-09-18 22:31:59 +02:00
Tae Won Ha
0e89b99e6f
Reformat using swiftformat 2020-09-18 16:01:55 +02:00
Tae Won Ha
ef0c29b9ef
Remove warnings 2020-09-18 12:59:26 +02:00
Tae Won Ha
9080ad8b5c
Make QOS of queue customizable in FifoCache 2020-09-18 11:02:25 +02:00
Tae Won Ha
3eb6fa1486
Make QOS of queues customizable 2020-09-18 10:57:35 +02:00
Tae Won Ha
6ab66b9045
Use weak self in subscriptions and catch all errors 2020-09-15 07:38:15 +02:00
Tae Won Ha
13ed1e28a8
Refactor build scripts 2020-08-21 08:59:40 +02:00
Tae Won Ha
aac853f2a8
Re-add some demos 2020-08-19 21:51:40 +02:00
Tae Won Ha
4f8c0391dd
Move EnvTest to Commons 2020-08-19 00:57:33 +02:00
Tae Won Ha
103db00027
Move NvimViewOld to Support 2020-08-19 00:46:56 +02:00
Tae Won Ha
879a19870b
Move some utils to Commons 2020-08-19 00:26:37 +02:00
Tae Won Ha
094893dfb4
Re-add NvimView tests, yet failing 2020-08-19 00:09:13 +02:00
Tae Won Ha
ca77228249
Extract Commons 2020-08-18 23:07:22 +02:00
Tae Won Ha
13676b377c
Extract RxPack as SPM 2020-08-18 19:37:39 +02:00
Tae Won Ha
333b8cbbe3
Use NvimServerTypes 2020-08-18 18:14:43 +02:00
Tae Won Ha
26c287f845
Copy NvimView.vim to plugin 2020-08-18 17:43:52 +02:00
Tae Won Ha
0088afb323
Ignore runtime and NvimServer binary 2020-08-18 17:34:36 +02:00
Tae Won Ha
fe8a9c92fa
Remove runtime and NvimServer binary 2020-08-18 17:34:22 +02:00