Giter Club home page Giter Club logo

Comments (4)

lifepillar avatar lifepillar commented on May 16, 2024

? Colortemplate has extensive documentation: see :help colortemplate.txt. If there is some part of the help file that needs improvement, please point that out.

The popups and the style picker do not work in Neovim.

In general, although I try not to make the plugin break in Neovim (e.g., by disabling unsupported functionality to avoid runtime errors), Colortemplate officially supports only Vim. I am not using Neovim, and the time I can devote to this plugin is limited.

from vim-colortemplate.

le-mich avatar le-mich commented on May 16, 2024

Colortemplate has extensive documentation: see :help colortemplate.txt.
I was looking for it in the Wiki section of GitHub, my bad!

Popup and picker don't seem to work in Vim either, how am I supposed to open them?

from vim-colortemplate.

lifepillar avatar lifepillar commented on May 16, 2024

Popup and picker don't seem to work in Vim either, how am I supposed to open them?

gl toggles highlight group information: as you move the cursor, such information is displayed in the command line; if you hover with the mouse on some text, a popup should open with the same information. This works by default in colortemplate buffers: to make it work globally you need to define your own global mapping, and also set balloonexpr. This is documented under :help colortemplate-mappings (scroll towards the end of the section).

The style picker can be opened by typinggs. Again, this works only in colortemplate buffers by default. See the above help reference for a suggestion on how to set up a global mapping.

If this does not solve your issue, please be more specific than “they don't seem to work” by providing step-by-step instructions to reproduce your problem.

from vim-colortemplate.

le-mich avatar le-mich commented on May 16, 2024

Using gl and gs makes the popups appear as expected, but they are not enabled by default.

I have Vim 8.2.735 in URxvt on a Alpine Linux machine. For testing purposes my vimrc consists of the Plug call to this repo and set mouse=a.

  • I open dark.colortemplate in Vim, the popups do not appear as I hover.
  • :set ft=colortemplate does not enable them.
  • The gl and gs commands then make the popups work.

I don't know why (in my Vim at least) the popups are not enabled by default for colortemplate files.
I get it now why there was no explanation on how to enable them, they're expected to work by default! Hahahahah

from vim-colortemplate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.