nvim-lua-guide icon indicating copy to clipboard operation
nvim-lua-guide copied to clipboard

A guide to using Lua in Neovim

Results 19 nvim-lua-guide issues
Sort by recently updated
recently updated
newest added

I created this simple CLI tool to easily scaffold a named lua plugin, setting up all the necessary files, directories etc.

The one and only [luajit wiki](http://wiki.luajit.org/Home) and [luajit not yet implemented](http://wiki.luajit.org/NYI#libraries_string-library). 1. Performance tips: wiki ~~+ wait for [status information](https://github.com/LuaJIT/LuaJIT/issues/662)~~, [computing performance guide](http://wiki.luajit.org/Numerical-Computing-Performance-Guide) recommended by [scilua author](https://scilua.org/optimizing.html) 2. Debugging: [one...

https://github.com/neovim/neovim/pull/14661 (lua: autocmds take 2) see also the not yet merged PR on the docs: https://github.com/neovim/neovim/pull/17545/files

Please don't use violent language. Use nonviolent, preferably life-affirming, language instead.

Add [ChrisAtMachine - Neovim from Scratch](https://youtube.com/playlist?list=PLhoH5vyxr6Qq41NFL4GvhFp-WLd5xzIzZ) YouTube tutorial playlist to 'Existing tutorials for writing Lua in Neovim' README section. - [ChrisAtMachine - Neovim from Scratch (YouTube Playlist)](https://www.youtube.com/playlist?list=PLhoH5vyxr6Qq41NFL4GvhFp-WLd5xzIzZ) - [ChrisAtMachine -...

Reloading cached modules does not adjust the keymappings, ie ```lua add_cmd('CRel', function() local lua_dirs = vim.fn.glob("./lua/*", 0, 1) for _, dir in ipairs(lua_dirs) do dir = string.gsub(dir, "./lua/", "") require("plenary.reload").reload_module(dir)...

https://github.com/neovim/neovim/pull/17386 This is relevant for plugin authors and if the user wants to spawn background threads for resource-demanding computations in lua.

1. https://github.com/Koihik/LuaFormatter https://github.com/JohnnyMorganz/StyLua looks best, since it is simple. 2. For everything plugin development related or to simplify the guide, I would recommend linking to https://github.com/nvim-lua/nvim-lua-plugin-template and to plenary lua...