Skip to content

truecolor terminals and termguicolors #186

Description

@pi-rho

if ! ( v:version >= 700 && has('syntax') && ( has('gui_running') || has('nvim') || &t_Co == 256 ) )

You disable the plugin if &t_Co != 256. This excludes terminals where &t_Co > 256 and doesn't consider termguicolors. An easy fix would be to use &t_Co >= 256 or include an additional combined test of (has('termguicolors') && &termguicolors) prior to the &t_Co test. An additional suggestion is to define another empty function along the lines of css_color#i_am_disabled() so it's obvious. :)

Thank you for a very useful plugin.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions