Skip to content

quantumfate/TestNvim

Repository files navigation

TestNvim

TestNvim is a minimal neovim configuration for plugin testing. It behaves like any other neovim instance without causing conflicts with other neovim configurations.

Disclaimer

TestNvim is in early development. Although it seems to work pretty well there might be issues. In depth documentation follows soon.

Features

  • no conflicts with existing neovim configuration
  • test plugin functionality in a minimal neovim instance
  • automatic cleanup thanks to /tmp
  • write test cases for specific functions - Plenary
  • use logging statements in your plugin - Structlog

Requirements

Install

The install script clones this repository and initializes the minimal neovim configuration for the first time. The tvim script will be linked to your path which is the entry point for this tool.

bash <(curl -s https://raw.githubusercontent.com/quantumfate/TestVim/main/scripts/install)

Uninstall

bash <(curl -s https://raw.githubusercontent.com/quantumfate/TestVim/main/scripts/uninstall)

Special Thanks

  • Lazy For the minimal init.lua and an aweosom package manager
  • Plenary For lua functions I don't want to write twice
  • Structlog For less painful logging