ii14 / neopm

Plugin manager for neovim, pre-alpha stage.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ci and test suggestions

matu3ba opened this issue · comments

Nice project. When do you plan to blog about this to make up your mind on the user interface, functionality etc or
do you have already a clear vision (to limit scope/keep it maintainable) ?

  1. https://github.com/nvim-lua/nvim-lua-plugin-template has very convenient headless testing capabilities.
  2. stolen from gitsigns issue draft:
-- run with: nvim --clean -u min_init.lua main.zig

vim.o.packpath = '/tmp/nvim/site'
local plugins = {
  gitsigns = 'https://github.com/lewis6991/gitsigns.nvim',
}
local plugin_name = 'gitsigns'

for name, url in pairs(plugins) do
  local install_path = '/tmp/nvim/site/pack/test/start/'..name
  if vim.fn.isdirectory(install_path) == 0 then
    vim.fn.system { 'git', 'clone', '--depth=1', url, install_path }
  end
end

require(plugin_name).setup{
  debug_mode = true, -- You must add this to enable debug messages
}
  1. lua formatter?