Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci and test suggestions #3

Open
matu3ba opened this issue May 2, 2022 · 0 comments
Open

ci and test suggestions #3

matu3ba opened this issue May 2, 2022 · 0 comments

Comments

@matu3ba
Copy link

matu3ba commented May 2, 2022

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?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant