1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-09-11 17:15:34 +03:00
vimr/Tabs
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
..
.swiftpm/xcode/package.xcworkspace Add Xcode file (needed?) 2022-03-12 19:58:56 +01:00
Sources/Tabs Make VimR tab colors match 1:1 with colorscheme. 2024-06-10 18:42:09 -04:00
Support Reverting accidental changes to TabSupport/../MainMenu.xib 2024-05-15 14:18:32 -04:00
Tests/TabsTests wip 2022-06-17 22:42:20 +02:00
.gitignore Add Tabs module 2020-11-28 11:36:12 +01:00
Package.swift Update swift tools version to 5.9 2023-12-17 19:42:17 +01:00
README.md Add Tabs module 2020-11-28 11:36:12 +01:00

Tabs

A description of this package.