Giter Site home page Giter Site logo

PaqClean removes itself about paq-nvim HOT 5 CLOSED

savq avatar savq commented on July 17, 2024
PaqClean removes itself

from paq-nvim.

Comments (5)

savq avatar savq commented on July 17, 2024 1

Hi,

You should add Paq itself to the list of packages like so:

paq{'savq/paq-nvim', opt=true}

I think this was in the readme before, or maybe I just forgot to add it. Sorry for the inconvenience 😞


Since Paq is installed in the same directory as any other package, it also manages itself. This allows it to update itself without additional mechanisms.

from paq-nvim.

lunjon avatar lunjon commented on July 17, 2024

Alright, that fixes it!

Thank you for the help.

from paq-nvim.

alxndr avatar alxndr commented on July 17, 2024

I have listed savq/paq-nvim in my config, however it still removes itself when running PaqClean. Has something changed?

https://github.com/alxndr/dotfiles/blob/8d3344765cd4ac2c2712ed8ad9c12979e5df9a12/nvim/init.lua#L13

from paq-nvim.

savq avatar savq commented on July 17, 2024

Hey @alxndr, how long have you been using Paq? If you began to use it recently (in the last week or so), you might not need the opt option.

require 'paq-nvim' {
    'savq/paq-nvim';
    -- etc.
}

If you want to keep using paq as optional, make sure you clone it to an opt directory, instead of a start directory:

git clone --depth=1 https://github.com/savq/paq-nvim.git \
    "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/pack/paqs/opt/paq-nvim

from paq-nvim.

alxndr avatar alxndr commented on July 17, 2024

@savq ah yes, just began using it yesterday! I'll give that a try, thanks.

from paq-nvim.

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.