1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-09-11 17:15:34 +03:00
Commit Graph

1048 Commits

Author SHA1 Message Date
George Harker
acc9328082 update build requirements 2023-10-30 13:25:04 -07:00
George Harker
615d32755c Talk to external nvim without uibridge 2023-10-29 13:46:05 -07:00
SolaWing
2edc970cdb feat: provide neovim original binary 2023-04-03 11:11:38 +08:00
Tae Won Ha
15ca44c650
Update neovim to 0.8.2 2023-01-03 17:42:40 +01:00
Tae Won Ha
d7b257435e
Reformat 2022-12-15 15:25:24 +09:00
Tae Won Ha
adc9f41802
Add RxPack and RxNeovim 2022-12-03 17:43:43 +01:00
Tae Won Ha
9d9d8947b9 Remove warnings and bump deployment target to 10.15 2022-11-05 16:30:00 +01:00
Tae Won Ha
c5a56250d4 Update deps 2022-11-03 16:16:36 +01:00
Tae Won Ha
5497361ba5
Generate sources 2022-11-01 09:13:13 +01:00
Tae Won Ha
7a459e9a03
Bump deployment target for x86 to Catalina
The minimum bottle version of gettext brew offers is Catalina now.
2022-10-31 20:32:11 +01:00
Tae Won Ha
a08fc2c910
Merge branch 'master' into update-neovim 2022-09-13 23:19:11 +02:00
Tae Won Ha
4b147028fe
Use a private function instead of a public extension.
It's way faster.
2022-09-13 21:08:27 +02:00
Tae Won Ha
2d31876e3e
Merge branch 'master' into update-neovim
Conflicts:
	NvimServer
2022-07-03 10:20:57 +02:00
Tae Won Ha
9820032b89
Remove unnec' protocol 2022-07-03 10:07:30 +02:00
Tae Won Ha
8fe75a7a95
Tidy up merge 2022-06-26 19:10:18 +02:00
Tae Won Ha
69e650b16f
Merge branch 'develop' into update-neovim
Conflicts:
	NvimServer
	NvimView/Sources/NvimView/NvimAutoCommandEvent.generated.swift
	NvimView/Sources/NvimView/NvimCursorModeShape.generated.swift
2022-06-26 19:04:40 +02:00
Tae Won Ha
0301919b7c
Generate sources 2022-06-26 18:28:01 +02:00
Tae Won Ha
c05d20269a
Make classes final if possible 2022-06-26 15:19:30 +02:00
Tae Won Ha
356712b837
Merge branch 'develop' into update-neovim
Conflicts:
	RxPack/Sources/RxPack/RxNeovimApi.generated.swift
2022-06-18 15:59:11 +02:00
Tae Won Ha
a472bc8320
Update submodule 2022-06-18 15:54:04 +02:00
Tae Won Ha
9c056876cf
Extract Rx classes for MessagePort and MsgpackRPC and move RxNeovimApi to NvimServer 2022-06-18 11:48:40 +02:00
Tae Won Ha
050537eeb7
wip 2022-06-17 22:42:20 +02:00
Tae Won Ha
2baf8a437f
Remove warnings 2022-06-17 16:48:30 +02:00
Tae Won Ha
076768bdfb
Merge remote-tracking branch 'origin/develop' into update-neovim 2022-06-16 15:55:57 +02:00
Tae Won Ha
c017466cc6
Use swift-tools 5.6 and bump Nimble to 10.0.0 2022-05-22 15:54:52 +02:00
Tae Won Ha
729e01ee59
Update neovim 2022-05-22 15:29:19 +02:00
Tae Won Ha
c4da658e8c
Merge branch 'develop' into update-neovim 2022-05-17 20:13:53 +02:00
Tae Won Ha
8fb71aa4c2
Make framerate view toggleable 2022-05-14 19:09:50 +02:00
Tae Won Ha
ffcbb01a20
Update neovim 2022-04-22 20:22:18 +02:00
Tae Won Ha
82b2913aad
Remove trackpad resistance pref 2022-04-18 15:31:48 +02:00
Tae Won Ha
57f22ac1ac
Merge pull request #938 from tsung-ju/trackpad
Improve trackpad scrolling precision
2022-04-18 08:07:32 +02:00
Tsung-Ju Chiang
e0e1dc1456 Change variables to internal 2022-04-17 14:06:03 -04:00
Tae Won Ha
192d0c9429
Update neovim to 0.7.0 2022-04-16 18:09:40 +02:00
Tsung-Ju Chiang
2145f0e84f Improve trackpad scrolling precision 2022-04-13 17:31:37 -04:00
Tae Won Ha
4d49c15429
Merge branch 'develop' into update-neovim 2022-03-31 20:28:26 +02:00
Tae Won Ha
2567204282
GH-928: When passing path to Neovim backend, shell-escape the path 2022-03-30 17:36:11 +02:00
Tae Won Ha
9292d751e4
Merge branch 'develop' into update-neovim 2022-03-23 18:22:24 +01:00
Tae Won Ha
94440566c9
GH-922: Add an option to set font smoothing. 2022-03-23 18:03:27 +01:00
Tae Won Ha
c4b5a3df1d
Generate sources 2022-03-22 21:35:53 +01:00
Tae Won Ha
972235ca5b
Merge branch 'develop' into update-neovim 2022-03-22 18:20:23 +01:00
solawing
17e6a42036 fix: avoid set to ascii IM when insert -> insert
this occur when lastImSource record as ascii IM, and tmp change to im in
insert mode
2022-03-21 19:06:55 +08:00
Tae Won Ha
048f0ae4a2
Merge branch 'develop' into update-neovim 2022-03-16 21:48:20 +01:00
Tae Won Ha
6501c3286a
Update Xcode 2022-03-16 21:48:10 +01:00
Tae Won Ha
23a86134ab
Merge branch 'develop' into update-neovim 2022-03-08 22:47:51 +01:00
Tae Won Ha
6ad588c1ae
Refactor ASCII IM handling and add a pref item 2022-03-08 19:47:23 +01:00
georgealbert
ec268e5245
Merge branch 'qvacua:develop' into develop 2022-02-19 21:47:54 +08:00
Tae Won Ha
16fd05b06f
Merge branch 'develop' into update-neovim 2022-02-19 10:46:18 +01:00
Tae Won Ha
08f2fbd85c
Update RxSwift 2022-02-13 12:48:49 +01:00
Albert
c523a4816e refactor IME switch.
NvimView/NvimView.swift: Add lastMode and currentMode
NvimView/NvimView+UiBridge.swift: Change IME by mode.
2022-02-13 01:01:37 +08:00
Tae Won Ha
688a1c5c5d
Merge branch 'develop' into update-neovim 2022-02-12 16:36:36 +01:00
georgealbert
359b2b582f
* NvimView+UiBridge.swift: set lastImSource when exit from insert mode 2022-02-08 21:48:00 +08:00
georgealbert
e031c7deb2
* NvimView.swift: add var is_insert_mode for ime switch 2022-02-08 21:43:20 +08:00
georgealbert
5964544a04
* NvimView+UIBridge.swift: support ime auto switch between normal and insert mode 2022-02-06 15:37:40 +08:00
georgealbert
8baf408c81
* NvimView.swift: save ime status in vars 2022-02-06 15:35:25 +08:00
Tae Won Ha
5c632d5248
Update neovim 2022-01-24 16:35:01 +01:00
Atishay Jain
a39cc580cf Add Support for Right and Middle Mouse buttons 2022-01-20 22:29:58 -08:00
Tae Won Ha
c93f03b937
Reformat 2022-01-11 13:24:48 +01:00
Tae Won Ha
190e186264
Add some comment 2022-01-05 23:29:30 +01:00
Tae Won Ha
67e729392d
Use Array(unsafeUninitializedCapacity) 2022-01-05 16:26:01 +01:00
Tae Won Ha
5d2c80c838
Update NvimServer to 0.6.1-0 2022-01-02 16:09:21 +01:00
Tae Won Ha
07c775082c
Merge pull request #876 from imkerberos/fix-cmd-dot-keydown
Fix <Cmd + .> don't trigger keydown event.
2022-01-01 12:00:55 +01:00
Tae Won Ha
5286f800e1
Make DrawerDev compile again 2021-12-24 13:18:35 +01:00
Tae Won Ha
4786aa94bb
Use ClosedRange instead of CountableClosedRange 2021-12-23 22:41:07 +01:00
Tae Won Ha
848017f450
Simplify closure a bit 2021-12-23 20:54:49 +01:00
Tae Won Ha
63f7d65084
Make use of automatic conversion between CGFloat and Double 2021-12-23 19:48:57 +01:00
Tae Won Ha
b671e0d60b
Ack Xcode recommendations 2021-12-23 19:45:18 +01:00
Tae Won Ha
1e9fe40f9c
Make use of automatic conversion between CGFloat and Double 2021-12-23 19:40:14 +01:00
Tae Won Ha
30b5ee7e4c
Make delegate weak 2021-12-23 14:27:12 +01:00
Tae Won Ha
226bc73c7b
Reformat 2021-12-23 14:19:40 +01:00
Tae Won Ha
d442e6021b
Add NvimViewDelegate for menu item key equivalent handling 2021-12-23 14:16:37 +01:00
Tae Won Ha
9b35ebb3be
Reformat 2021-12-23 14:04:50 +01:00
Tae Won Ha
351a08da23
Update neovim to 0.6.0 2021-12-01 19:09:59 +01:00
Kerberos
f50882e59a Fix <Cmd + .> don't trigger keydown event. 2021-11-09 11:20:32 +08:00
Tae Won Ha
f503b9e47e
GH-405 Vertically center-align text when linespacing > 1 2021-11-06 14:06:07 +01:00
Tae Won Ha
15ebbd4ee2
Merge remote-tracking branch 'origin/pr/805' into 805
- Did not change AttributesRunDrawer since it breaks the vertical
  positioning with linespacing = 1.0.

 Conflicts:
	NvimView/Sources/NvimView/AttributesRunDrawer.swift
	NvimView/Sources/NvimView/FontUtils.swift
2021-11-06 13:34:33 +01:00
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