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

1048 Commits

Author SHA1 Message Date
Tae Won Ha
d56803fafb
swiftformat 2024-06-20 19:07:12 +02:00
Tae Won Ha
82b6f33e53
Merge pull request #1072 from s-daveb/master
Make VimR tab colors match 1:1 with colorscheme.
2024-06-16 08:49:13 +02:00
Shane Smith
ee45367be5 Fix trackpad scrolling
Fixes #1043
2024-06-14 21:42:41 -04:00
S David
6396944b81 Make VimR tab colors match 1:1 with colorscheme.
Additionally: Pick up system accent color properly when no colors set.

NvimView+Resize.swift:
  - Now transmitting Tabline, TablineFill  colors to the VimR
    UI, as well as TablineSel
  - Replace the built-in get() + nvim_get_hl() method because they don't
   have handle 'link' highlights properly (they return -1 for color code)
  - defined a new GetHiColor vimscript method that behaves like get()
       but also reads `link` type highlight groups by following the
       link.

NvimView+Types.swift:
  - visualForegroundColor is picked up from user accent color in System
    Settings using NSColor.Name("controlAccentColor")
  - Updated to include all additional colors

NvimView+UiBridge.swift:
 - Updated MessagePackUtils value code to accomodate new color code fields

Tabs/Tab.swift:
 - Get Selected tab color from TablineSel

Tabs/TabBar.swift:
 - Set tab bar color to TablineFill

Tabs/Theme.swift:
- Add new fields for TablineFill and TablineSel color corresponding to
  tab bar background and selected tab colors
- Minor rearranging of field order

VimR/Theme.swift:
- Add new fields for the tab bar, tab, and selected tab colors
2024-06-10 18:42:09 -04:00
Tae Won Ha
ef0b105056
Delete non-live-resizing code 2024-05-31 23:03:40 +09:00
Tae Won Ha
aabd13c6ef
swiftformat 2024-05-31 17:12:54 +09:00
Tae Won Ha
36a18ed474
Always use live resizing 2024-05-31 17:11:37 +09:00
Tae Won Ha
071369cdc3
Make live resizing default behavior 2024-05-31 16:49:53 +09:00
Tae Won Ha
fd842a2500
Fix and adapt API generation
- Do not remove the `nvim_` prefix
2024-05-31 13:06:01 +09:00
Tae Won Ha
861f9ff08d
Generate sources for v0.10.0 2024-05-28 12:21:34 +09:00
S David
4666d1b4ac Modify VimR's themeing. Custom Tab color comes from TablineSel color group rather than Visual selection background color.
Fixes the issue where the everforest theme results in low-contrast tabs, by using color groups that were meant for tabs
2024-05-06 15:02:07 -04:00
Tae Won Ha
51a4efee34
Merge remote-tracking branch 'origin/pr/1053' 2024-04-26 14:30:33 +02:00
Tae Won Ha
de35ad91af
Update deps 2024-04-26 14:27:46 +02:00
Rainux Luo
0c3e5a4b0b
Revert part of the changes in 68afc66a
This should fix the filetype detection issue
2024-04-08 17:05:19 +08:00
Tae Won Ha
32168b9212
Do not parallel map 2024-01-13 21:12:07 +01:00
Tae Won Ha
35527bc52e
Do not include font check for CTRuns when typesetting.
We have to clear the cache when changing the font (and other parameters
which may affect the typesetting).
2023-12-27 21:50:10 +01:00
Tae Won Ha
4c3d968a0c
Refactor slightly 2023-12-24 22:12:37 +01:00
Tae Won Ha
51aa73aaa8
Refactor slightly 2023-12-24 22:05:23 +01:00
Tae Won Ha
424ea64182
Revert "Use uninitialized array initializer"
This reverts commit 60ed0f7aa6.
2023-12-24 20:35:40 +01:00
Tae Won Ha
6431c1d603
Add comment 2023-12-24 20:28:16 +01:00
Tae Won Ha
54f95ec4dd
Cache information about non existent font 2023-12-24 20:19:48 +01:00
Tae Won Ha
60ed0f7aa6
Use uninitialized array initializer 2023-12-24 19:20:17 +01:00
Tae Won Ha
68afc66a8b
Do not check blocked 2023-12-23 21:13:33 +01:00
Tae Won Ha
87ff3929b6
Fix RxNeovimApi example 2023-12-23 20:55:42 +01:00
Tae Won Ha
c663815d63
Remove unnec' completable 2023-12-23 20:01:56 +01:00
Tae Won Ha
f6f41b1b92
Fix reponse processing in msgpack rpc 2023-12-23 17:42:37 +01:00
Tae Won Ha
2b7afdd5e1
Fix MsgpackRpc Neovim example 2023-12-23 17:39:08 +01:00
Tae Won Ha
ef9e5c22bf
Use VimLeave to detect quit
Otherwise VimR hangs when there are modified buffers.
2023-12-23 10:37:10 +01:00
Tae Won Ha
c4e4c9b688
Fix memory leak 2023-12-22 23:27:35 +01:00
Tae Won Ha
c89a4b773b
Set QoS for neovim process 2023-12-22 08:54:13 +01:00
Tae Won Ha
fc49a8614f
Reformat 2023-12-19 20:17:40 +01:00
Tae Won Ha
77d166890b
Add option not to open new doc in the demo app 2023-12-19 20:17:35 +01:00
Tae Won Ha
8dcd0cd1b3
Refactor slightly 2023-12-19 18:52:53 +01:00
Tae Won Ha
f6491dca47
swiftformat 2023-12-18 22:51:20 +01:00
Tae Won Ha
87017f8df0
Fix memory leak 2023-12-18 22:48:18 +01:00
Tae Won Ha
784cad42e7
Adapt comment 2023-12-17 22:23:07 +01:00
Tae Won Ha
b6306f5bc9
Fix generate source script and generate sources 2023-12-17 19:54:58 +01:00
Tae Won Ha
33778e829d
Update swift tools version to 5.9 2023-12-17 19:42:17 +01:00
Tae Won Ha
1b9545df2b
Add scheme file for min. NvimView demo 2023-12-17 19:15:22 +01:00
Tae Won Ha
dc06e68969
Use live resizing in minimum NvimView demo 2023-12-17 18:34:31 +01:00
Tae Won Ha
b75a67d028
Remove unnec' logging 2023-12-17 18:04:59 +01:00
Tae Won Ha
0a2af85585
Sync when publishing events
RxSwift reported `Synchronization anomaly was detected` which was due to
PublishSubject firing events from different dispatch queues.
2023-12-17 17:46:28 +01:00
Tae Won Ha
807ab05e9b
Refactor slightly 2023-12-17 15:04:26 +01:00
Tae Won Ha
4c8ea2010d
Tidy up minimal demo 2023-12-17 14:47:28 +01:00
Tae Won Ha
12b3aa4d8c
Refactor slightly 2023-12-17 14:28:17 +01:00
Tae Won Ha
8712640f07
Do not issue resize directly after launching neovim 2023-12-17 13:27:44 +01:00
Tae Won Ha
606990408e
Slightly refactor 2023-12-17 12:47:38 +01:00
Tae Won Ha
02d3a2c445
Do setup in blocking vimenter 2023-12-17 11:20:35 +01:00
Tae Won Ha
2a6255b807
Refactor slightly 2023-12-17 10:57:10 +01:00
Tae Won Ha
43170dd3ad
Fix min. NvimView demo 2023-12-16 19:56:35 +01:00