luv
nvim-lua-guide
Our great sponsors
luv | nvim-lua-guide | |
---|---|---|
14 | 152 | |
775 | 4,992 | |
1.8% | - | |
8.1 | 6.3 | |
about 2 months ago | over 1 year ago | |
C | sed | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
luv
-
I can't build neovim
Hi, I had this issue and I solved it by building https://github.com/luvit/luv myself.
-
Where do I go after learning lua?
To answer the OP's question, you could tackle luv and libuv ecosystem, as a way to connect Lua to real-world systems (files, sockets, servers...). That's one way to put Lua skills to use, there are other great answers in the thread. Another recommendation is to go through Programming in Lua book, especially the later chapters where you learn how Lua talks to the host application.
-
What's the dogmatic way of dealing with leading and trailing newlines when running an external shell command from Neovim?
Alternatively you can get into the weeds and play around with the in built vim.loop (which is really just luv, specifically spawn to run commands on the OS and handle stdout processing via stream.
-
Purist neovim config
Unfortunately I doubt they are able to use netrw, it interfaces with user facing buffers too much. Telescope uses plenary which uses lua's luv implementation (bound to vim.loop). Fzf-lua uses an external binary called fzf
- Is it possible to get a program that doesn't use LUA to send data to a LUA program?
-
Library support situation?
Lua is still actively used so there is a great number of libraries that came out in last 9 years. A decent example is the luv library that is packed with great functionality. On the whole I'm quite satisfied with the ecosystem, but it all depends on the domain.
-
Run external process from neovim with lua
You should be able to find plenty of examples of asynchronous code at https://github.com/luvit/luv and translate it.
-
How do I use libuv filesystem event operations for handling filesystem management for plugins?
The first thing I would recommend is read the official documentation. Both libuv and luvit (or more specifically luv)
-
luv documentation in vimdoc format
I spent some time converting the luv documentation to make it available in :help and make the vim.loop module more discoverable. Thought plugin authors might be interested.
-
[Question] Multithreading in Neovim
I'm assuming this one.
nvim-lua-guide
-
Any guide to start writing plugins?
Nvim Lua guide
- I'm fairly new to Neovim, and I want to configure my neovim setup.
-
Advice/Resources for creating/debugging a Neovim Plugin?
My main struggles beyond a simple problem are just the inability to find a way to easily debug things and the general process for setting up a plugin. I mostly work with Python/Jupyter, some C and Lua/Bash scripts, and usually you can either write tests/print debug for smaller scale things or get some stack trace if you have an error. With Neovim development, it just feels like there's nothing more besides update plugin, try on neovim, fail, bash head against wall, and repeat, and that doesn't quite seem efficient or correct - I'm sure there's something out there that should make the process easier. I tried looking online but I haven't found many that really fit my needs (most of the resources here seem more targeted towards creating your own init.lua, and Luadev plugin's commands are all broken (:Luadev-RunLine and any other command keeps telling me I got some trailing space). I'm really just looking to see how to make a snippet library, but there doesn't seem to be much that helps me. If someone could let me know how they debug their plugin or point me to any external resources, please let me know!
-
[help] use neovim to edit files at remote - server?
I have no guidance for the first point. For the second, checkout the neovim lua guide or : lua-guide
- Is there a vim/neovim equivalent to something like "Mastering Emacs"?
- [Neovim] Puis-je obtenir un guide sur la façon d’installer Packer pour les nuls absolus ?
- New to NeoVim, looking to learn
- Where to learn about Neovim and it's plugins? (Deeply)
-
Where would be a good place to start trying to learn lua with no previous programming experience. Trying to learn it as it’s the main language used in a project I’m apart of and want to help out
A quick google search turned up this codeacademy class on learning to program in Javascript. I didn't vet the whole thing, but it appears to assume you know nothing, which is what you need. If you go through that, you can then consume one of the resources that /u/luascriptdev post to equate that back to Lua. Again, the concepts translate.
- how to understand lua config
What are some alternatives?
plenary.nvim - plenary: full; complete; entire; absolute; unqualified. All the lua functions I don't want to write twice.
kickstart.nvim - A launch point for your personal nvim configuration
lit - Toolkit for developing, sharing, and running luvit/lua programs and libraries.
packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
nvim-lsp-ts-utils - Utilities to improve the TypeScript development experience for Neovim's built-in LSP client.
vim-test - Run your tests at the speed of thought
fs - Provide cross platform file operations based on libuv.
fwatch.nvim - fwatch.nvim lets you watch files or directories for changes and then run vim commands or lua functions.
tree-sitter-svelte - Tree sitter grammar for Svelte
awesome-lua - A curated list of quality Lua packages and resources.
which-key.nvim - 💥 Create key bindings that stick. WhichKey is a lua plugin for Neovim 0.5 that displays a popup with possible keybindings of the command you started typing.