Page MenuHomeFreeBSD

devel/paq-nvim: New Port, minimal Neovim package manager
ClosedPublic

Authored by agh_riseup.net on Oct 13 2023, 5:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 10, 7:06 AM
Unknown Object (File)
Wed, Jan 8, 12:24 AM
Unknown Object (File)
Tue, Dec 31, 6:05 PM
Unknown Object (File)
Dec 1 2024, 7:54 AM
Unknown Object (File)
Nov 25 2024, 3:43 AM
Unknown Object (File)
Nov 21 2024, 11:34 AM
Unknown Object (File)
Nov 19 2024, 1:39 AM
Unknown Object (File)
Nov 18 2024, 4:06 PM
Subscribers

Details

Summary

Paq is a minimal, simple to use packer manager for Neovim written in Lua. Paq
is aimed for Neovim users who make use of Lua for their configuration language.
Paq is written to make use of existing Neovim features, and to have a simple
and familiar interface for declaring packages.

https://github.com/savq/paq-nvim

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

agh_riseup.net created this revision.

Improve notes in pkg-message.in

Can you elaborate a bit on why this is needed as it seemingly will interfere with our own package framework? It's not possible to package plugins directly?

Can you elaborate a bit on why this is needed as it seemingly will interfere with our own package framework?

OK, I am not at all clear on how this interferes with pkg, as the plugin, thru Neovim will only write config or state to the user's home directory.
The aim here is make it easier for FreeBSD users to install a Neovim package manager, and take comfort in the fact that it is managed thru the Ports framework, also, a package manager is normally the start of customising one's Neovim environment. What should be considered a fundamental component of an editor these days, the package manager is not yet part of the editor, such is the state of modern tooling. Moving the plugins into the Ports removes some of the nightmare of managing plugins from the User to the Port maintainer.

It's not possible to package plugins directly?

Farken oath it is, and guess what, there is more Neovim plugin Ports coming from me :-D

  • Update to 2.0.0
  • Cleanup files/pkg-message.in

That made things a lot clearer, I was a bit concerned that it would "pollute" /usr being described as a package manager. While there are no restrictions on packaged applications in terms of operation (excluding harmful software etc) it's good if we can keep installed files from packages unaltered and not trying to "work around" the ports framework whenever possible.

This revision is now accepted and ready to land.Nov 3 2023, 7:56 PM

That made things a lot clearer, I was a bit concerned that it would "pollute" /usr being described as a package manager. While there are no restrictions on packaged applications in terms of operation (excluding harmful software etc) it's good if we can keep installed files from packages unaltered and not trying to "work around" the ports framework whenever possible.

I think I am understanding you concerns. paq-nvim is a successor to packer.nvim (https://github.com/wbthomason/packer.nvim), a Port of which I was sitting on for over a year, big mistake. During that time, using nvim with packer as a user, and sometimes as root, I noticed no clobbering of the pkg managed file name space below /usr/local, or more specifically, /usr/local/share/nvim, a concern I also had from the start, and have attempted to monitor and manage. A plus to note, Neovim makes use XDG environment configuration too, which makes organising and house keeping of one's configuration much easier; this method I prioritise for my Neovim deployments. After packer development stopped, and paq started, I have had less time to test, however, I have noticed no clobbering of /usr/local/share/nvim/.

One can run :lua print(vim.o.runtimepath) from within neovim to print the runtime configuration paths too.

Committed with some minor changes to text, thanks for your contribution!