Coder Social home page Coder Social logo

Not working in Neovim about vim-colortemplate HOT 4 OPEN

exoess avatar exoess commented on June 15, 2024
Not working in Neovim

from vim-colortemplate.

Comments (4)

lifepillar avatar lifepillar commented on June 15, 2024

:Colortemplate is a filetype-specific command: it is available only in buffers whose filetype is colortemplate. Try saving a new buffer with the .colortemplate suffix. Does that solve you problem?

from vim-colortemplate.

exoess avatar exoess commented on June 15, 2024

It worked but gave a different error, "E329: No menu "WinBar"

from vim-colortemplate.

lifepillar avatar lifepillar commented on June 15, 2024

Neovim does not support WinBar (edit: as supported by Vim, that is via nmenu). This is not detected automatically by the plugin, but you may add this to your vimrc:

let g:colortemplate_toolbar = 0

from vim-colortemplate.

lifepillar avatar lifepillar commented on June 15, 2024

It seems that Neovim (I'm using v0.9.1) does support window toolbars (it includes the patch that implements them: that's why the script did think that the toolbar would work), but it uses a different mechanism to define them—there is a winbar setting whereas Vim uses nmenu.

As I am not using Neovim, I cannot guarantee that every feature of Colortemplate works as expected with it. There was a time when I tested the scripts in both Vim and Neovim, but the differences are now too many for me to try and reconcile them. If someone cares, I accept PRs.

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.