Git Product home page Git Product logo

Comments (9)

k-takata avatar k-takata commented on June 3, 2024

Adding set nocp in your vimrc is not necessary as I wrote in https://github.com/k-takata/minpac#basic-sample. The option will be automatically turned off when .vimrc is found.
Adding the line is useful to make sure that the option becomes off even if you execute vim with the -u option and without the -N option. E.g. vim -u .vimrc.

Anyway, the 'compatible' option should be off, because setting the option on has many side effects and I don't want to support it.

from minpac.

sheerun avatar sheerun commented on June 3, 2024

Have you considered putting set nocompatible in plugin/minpac.vim?

from minpac.

k-takata avatar k-takata commented on June 3, 2024

Any plugin should not change the 'compatible' option.

from minpac.

sheerun avatar sheerun commented on June 3, 2024

you can restore compatible flag after autocommands are loaded, just like vim in its autocommands: https://github.com/vim/vim/blob/master/runtime/autoload/dist/ft.vim#L755-L757

from minpac.

k-takata avatar k-takata commented on June 3, 2024

Do you want to use minpac with 'compatible'?

from minpac.

sheerun avatar sheerun commented on June 3, 2024

No, I don't want to set nocompatible in ~/.vimrc, and at the same time be able to use -u ~/.vimrc

from minpac.

sheerun avatar sheerun commented on June 3, 2024

plus it would make minpac documentation shorter, no need to worry about nocompatible at all

from minpac.

k-takata avatar k-takata commented on June 3, 2024

I think that users should always care about the 'compatible' option if they use the -u option. The user should know what they are doing.

from minpac.

sheerun avatar sheerun commented on June 3, 2024

ok

from minpac.

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.