Skip to content

polarmutex/beancount.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

beancount.nvim plugin

This repository is a template for Neovim plugins written in Lua.

The intention is that you use this template to create a new repository where you then adapt this readme and add your plugin code.

The template includes the following:

  • GitHub workflows to run linters and tests
  • Minimal test setup
  • EditorConfig
  • A .luacheckrc

To get started writing a Lua plugin, I recommend reading the nvim-lua-guide.

Scope

Anything that the majority of plugin authors will want to have is in scope of this starter template. Anything that is controversial is out-of-scope.


The remainder of the README is text that can be preserved in your plugin:


Development

Run tests

Running tests requires plenary.nvim to be checked out in the parent directory of this repository.

You can then run:

nvim --headless --noplugin -u tests/minimal.vim -c "PlenaryBustedDirectory 
    tests/{minimal_init = 'tests/minimal.vim'}"

Or if you want to run a single test file:

nvim --headless --noplugin -u tests/minimal.vim -c "PlenaryBustedDirectory
    tests/path_to_file.lua {minimal_init = 'tests/minimal.vim'}"

About

neovim plugin to help with beancount files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published