nvim-lua/wishlist

Enhanced Standard Library

Open

#7 创建于 2020年8月17日

在 GitHub 查看
 (0 评论) (18 反应) (0 负责人) (0 fork)github user discovery
help wantedidea

仓库指标

Star
 (249 star)
PR 合并指标
 (PR 指标待抓取)

描述

What? A Lua library collecting useful utilities and functions for writing Lua in/for Neovim.

Why? The vim module already provides a decent standard library for this purpose, but there's still a lot of functionality that gets commonly reimplemented by plugin authors - things like functional programming combinators (map, fold, etc.), utilities for working with paths, wrappers around vim.loop.spawn for working with jobs, etc. To encourage code reuse, it would be useful to have a "standard library++" including these tools.

Potential existing implementations: https://github.com/nvim-lua/plenary.nvim is already working toward this!

Potential pitfalls: What should be included/excluded to keep the library useful without bloat?

贡献者指南