plenary.nvim

plenary: full; complete; entire; absolute; unqualified. All the lua functions I don't want to write twice. (by nvim-lua)

Stats

Basic plenary.nvim repo stats
10
229
8.3
3 days ago

nvim-lua/plenary.nvim is an open source project licensed under MIT License which is an OSI approved license.

Plenary.nvim Alternatives

Similar projects and alternatives to plenary.nvim

  • GitHub repo nvim-lua-guide

    A guide to using Lua in Neovim

  • GitHub repo neovim

    Vim-fork focused on extensibility and usability

  • GitHub repo luv

    Bare libuv bindings for lua

  • GitHub repo nvim-luapad

    Interactive real time neovim scratchpad for embedded lua engine - type and watch!

  • GitHub repo nvim-lsp-ts-utils

    Utilities to improve the TypeScript development experience for Neovim's built-in LSP client.

  • GitHub repo nvim-luadev

    REPL/debug console for nvim lua plugins

  • GitHub repo nvim-comment

    A comment toggler for Neovim, written in Lua

  • GitHub repo floating.nvim

    nvim floating window manager

  • GitHub repo vusted

    A busted wrapper for testing neovim plugin

  • GitHub repo plugin-template.nvim

    A template to create Neovim plugins written in Lua

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better plenary.nvim alternative or higher similarity.

Posts

Posts where plenary.nvim has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-04-24.
  • How do you build unit tests for your lua plugins?
    reddit.com/r/neovim | 2021-04-24
    plenary.nvim has a test harness that (from the sound of it) is perfect for your use case. It'll run your tests in a headless Neovim instance so you can run them from the command line, and it'd be straightforward to use the Neovim API to create temporary buffers with the original content, run your functions, and then assert that the content has been modified in the expected way.
    reddit.com/r/neovim | 2021-04-24
    Yep planery, it has an assertions, mocking etc example page here https://github.com/nvim-lua/plenary.nvim/blob/master/TESTS_README.md
    reddit.com/r/neovim | 2021-04-24
    You can try plenary test
  • floating.nvim: a pure lua floating window manager
    reddit.com/r/neovim | 2021-04-23
    CREDITS:, border.lua started from plenary.nvim/border and has been modified to update when the window resizes :)
  • [Lua] Cleaning up vim.loop.spawn properly
    reddit.com/r/neovim | 2021-04-22
    I've pored through plenary.nvim's jobs implementation and have gotten to the point where I haven't crashed for several hours, but I want to make sure that my implementation is OK, since it's part of a plugin. I can see that Plenary jobs use checks to ensure that all pipes are closed before closing the handle, but I'm not sure at what point in the lifecycle I should check (or if it's necessary at all).
  • nvim-lsp-ts-utils: Utilities to improve the TypeScript experience for Neovim's built-in LSP client
    reddit.com/r/neovim | 2021-03-25
    It's a killer feature for sure. I believe it can be implemented with plenary.nvim jobs. I just have to learn more about Watchman itself.
    reddit.com/r/neovim | 2021-03-25
    New async await jobs are coming too!
    reddit.com/r/neovim | 2021-03-25
    This is pretty nice. I like that people are making server specific plugins now. Please use buf_request instead of buf_request_sync so you won't block the editor. Also, don't use the blocking os.execute, io.open, etc and instead use libuv. If you don't want to get into callback hell, consider waiting until async await in plenary is merged. Also, many of the commands are tsserver specific, so I wouldn't prefix them with Lsp, as that would be confusing because they don't apply to all langauge servers.
  • Resources for Lua for plugin development for someone not familiar with Lua
    reddit.com/r/neovim | 2021-01-11
    As for reloading a plugin, the require() function caches modules, which means subsequent calls use what was cached. plenary.nvim has a function for reloading modules: https://github.com/nvim-lua/plenary.nvim/blob/master/lua/plenary/reload.lua
    reddit.com/r/neovim | 2021-01-11
    I don't really have experience writing tests for Lua plugins, but if you're not already aware, plenary.nvim has a simple testing framework that's fairly easy to setup: https://github.com/nvim-lua/plenary.nvim/#plenarytest_harness