Git Product home page Git Product logo

Comments (2)

dbarnett avatar dbarnett commented on May 18, 2024

Looking around for existing instant/ files, I found a couple interesting cases besides flags.vim:

  • Pre-configuring default settings for vim that can be overridden later in vimrc. May need to go in autoload helpers if they can't use other tricks to avoid stomping on users' explicit config.
  • Registering hooks with other plugins. I suspect these actually don't need to be instant.
  • Attempts at automatic dependency management. These should probably just be dropped to no longer be automatic, but to give clear warnings if they're installed without essential dependencies.

from vim-maktaba.

dbarnett avatar dbarnett commented on May 18, 2024

And since this will require a plugin-by-plugin migration process, I'd want users to be able to easily report issues to plugin maintainers and have an escape hatch to re-enable the legacy behavior. The override could look something like this:

call maktaba#EnableLegacyInstantFilesForPlugins(['someplugin', 'codefmt', 'syncopate'])

taking a list of plugin names that still need legacy behavior and ignoring instant files for everything else. You could opt-in for ALL your plugins like:

call maktaba#EnableLegacyInstantFilesForPlugins([])

and at some point we'd update maktaba to make that the default behavior.

from vim-maktaba.

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.