Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make VimR tab colors match 1:1 with colorscheme. #1072

Merged
merged 1 commit into from
Jun 16, 2024

Commits on Jun 10, 2024

  1. 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
    s-daveb committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    6396944 View commit details
    Browse the repository at this point in the history