1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-23 01:54:31 +03:00
Commit Graph

4594 Commits

Author SHA1 Message Date
Tae Won Ha
1321b6bc34
Update to recommended settings 2024-11-09 14:24:00 +01:00
Tae Won Ha
84acfb681c
Update RxSwift 2024-11-09 14:21:09 +01:00
Tae Won Ha
80dae7d7a7
Update MessagePack 2024-11-09 14:18:43 +01:00
Tae Won Ha
200b2801cc
Update appcast 2024-10-06 20:25:54 +02:00
Tae Won Ha
ef6c61d0d8
Bump version to v0.49.0-20241006.202133 2024-10-06 20:21:34 +02:00
Tae Won Ha
6e9caa6d24
Update neovim buildinfo 2024-10-06 20:07:57 +02:00
Tae Won Ha
64eb4c6860
Generate sources 2024-10-06 20:06:48 +02:00
Tae Won Ha
888eb35feb
Update Neovim 2024-10-06 20:05:04 +02:00
Tae Won Ha
2647d7efa9
Update appcast 2024-09-28 19:35:34 +02:00
Tae Won Ha
eebf7c621e
Bump version to v0.48.1-20240928.193147 2024-09-28 19:31:48 +02:00
Tae Won Ha
c923879001
Update release notes 2024-09-28 19:31:04 +02:00
Tae Won Ha
ddf970e4eb
Merge pull request #1086 from weizs0r/master
Update README.md
2024-09-28 19:09:39 +02:00
weizs0r
99efec1f3d
Update README.md
fixed typo
2024-09-27 13:44:14 +01:00
George Harker
5406bc54af fix race on lcd / cwd
must be done in main thread for access to NSTextView’s string rep
2024-09-26 12:53:19 -07:00
Tae Won Ha
16929f2415
Update deps 2024-08-19 20:49:02 +02:00
Tae Won Ha
07b9ef35a6
Update appcast 2024-07-27 08:33:23 +02:00
Tae Won Ha
8d393cbbda
Bump version to v0.48.0-20240727.082947 2024-07-27 08:29:48 +02:00
Tae Won Ha
806f161860
Update neovim buildinfo 2024-07-27 08:01:14 +02:00
Tae Won Ha
31a37da939
Update release notes 2024-07-27 07:59:16 +02:00
Tae Won Ha
8475fd14cd
Update Neovim 2024-07-25 22:14:36 +02:00
Tae Won Ha
122a1f0a1a
Extend gitignore 2024-06-30 21:24:44 +02:00
Tae Won Ha
3180a2fffb
Remove Package.resolved 2024-06-30 21:24:22 +02:00
Tae Won Ha
b4379adda2
Update appcast 2024-06-30 15:58:46 +02:00
Tae Won Ha
398508f8ed
Bump version to v0.47.5-20240630.155444 2024-06-30 15:54:44 +02:00
Tae Won Ha
8f2a5e38fc
Update release notes 2024-06-30 15:53:22 +02:00
Tae Won Ha
4a6adfdb6b
Merge pull request #1078 from shanesmith/fix-non-global-cd
Fix lcd/tcd
2024-06-30 15:52:14 +02:00
Shane Smith
0c0a215202 Fix lcd/tcd
The following code path effectively turned any `lcd` or `tcd` into a
`cd`.

- `lcd` (or `tcd`) from nvim
- handled by `DirChanged` autocmd from NvimView.swift
- fires `.dirchanged` event
- handled by autoCommandEvent() in NvimView+UiBridge.swift
- calls cwdChanged() in NvimView+UiBridge.swift
- fires event `.cwdChanged`
- handled by `subscribeToNvimViewEvents()` in MainWindow.swift
- calls `cwdChanged()` in MainWindow+Delegates.swift
- fires even `.cd`
- handled by `typedReduce()` in MainWindowReducer.swift
- sets `state.cwdToSet`
- state change handled by `subscribeToStateChange()` in MainWindow.swift
- sets `self.neoVimView.cwd`
- handled by `var cwd` setter in NvimView.swift
- calls `nvimSetCurrentDir()` which sets global nvim cwd

This chain had to be broken somewhere. The `state.cwdToSet` line in
MainWindowReducer.swift has a comment that it's set to "ensure updates
also send to tab bar". To fix we remove that line and instead set the
tab bar cwd earlier in the cahin in NvimView+UiBridge.swift.

I don't normally use the custom tab bar or file browser, but have tested
them with this change and they seem to still work well.

Fixes #1027
2024-06-29 21:24:44 -04:00
Tae Won Ha
88517d94c6
Update appcast 2024-06-26 19:04:00 +02:00
Tae Won Ha
83bbc8274a
Bump version to v0.47.4-20240626.190016 2024-06-26 19:00:16 +02:00
Tae Won Ha
5c3ffe5645
Bump version to v0.47.4-20240626.185552 2024-06-26 18:55:52 +02:00
Tae Won Ha
a06e8cd9fc
Bump version to v0.47.4-20240626.184903 2024-06-26 18:49:03 +02:00
Tae Won Ha
b6906506c8
Update release notes 2024-06-26 18:48:15 +02:00
Tae Won Ha
33d55d314e
Merge pull request #1075 from shanesmith/fix-lua-stack-grow
Fix error "E1502: Lua failed to grow stack to 4001"
2024-06-26 18:46:51 +02:00
Shane Smith
b52c45baff Fix error "E1502: Lua failed to grow stack to 4001"
The `neoVimBuffer` function was updated in #1015 to used a lua script
through `nvimExecLua`. The script returns the dictionary retrieved from
the `getbufinfo` vim functions. The issue is that this can grow very
large, especially the `variables` entry, and can cause the lua stack to
grow too big and error.

In the end the `neoVimBuffer` function only needs a small handful of the
entries from `getbufinfo`, and so the lua script has been updated to
return a dictionary with only those entries.

At the same time the `hasDirtyBuffers` function was found to also return
the `getbufinfo` dictionary and was similarly fixed. It was also noticed
that the argument passed into `getbuinfo` here was a vim style
dictionary and not valid lua. This made `hasDirtyBuffers` fail and
caused an issue in `MainWindow.windowShouldClose` where selecting `File
> Close Window` would close the window even when dirty buffers were
present. The proper lua dictionary syntax is now used and fixes this
issues.

Fixes #1044
2024-06-22 22:34:35 -04:00
Tae Won Ha
3b8fbe973b
Add clarification about sign for universal neovim builds 2024-06-22 20:48:42 +02:00
Tae Won Ha
8118e9c311
Update deps 2024-06-21 18:17:34 +02:00
Tae Won Ha
bfab09e3b7
Update release notes 2024-06-20 21:05:05 +02:00
Tae Won Ha
d56803fafb
swiftformat 2024-06-20 19:07:12 +02:00
Tae Won Ha
5193a32cdb
Update appcast 2024-06-16 09:05:41 +02:00
Tae Won Ha
39b4618932
Bump version to v0.47.3-20240616.090032 2024-06-16 09:00:33 +02:00
Tae Won Ha
483a9e32d4
Update release notes 2024-06-16 08:54:32 +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
Tae Won Ha
3be3579861
Merge pull request #1073 from shanesmith/fix-trackpad-scrolling
Fix trackpad scrolling
2024-06-16 08:47:23 +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
8d953fa0a0
Xcode shenanigans 2024-05-31 22:35:30 +09:00
Tae Won Ha
e22bd2d755
Xcode shenanigans 2024-05-31 22:33:32 +09:00
Tae Won Ha
fd63e8dace
Update appcast 2024-05-31 22:25:28 +09:00
Tae Won Ha
5aa941e6cb
Bump version to v0.47.2-20240531.221846 2024-05-31 22:18:46 +09:00