luv
fwatch.nvim
Our great sponsors
luv | fwatch.nvim | |
---|---|---|
14 | 5 | |
775 | 75 | |
1.8% | - | |
8.1 | 0.0 | |
about 2 months ago | almost 2 years ago | |
C | Lua | |
Apache License 2.0 | MIT License |
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.
fwatch.nvim
-
Lushwal.nvim: Use Pywal colors in Neovim
You can also setup file watchers with uv/vim.loop, there's a basic example implementation here, which could be used to recompile & apply whenever pywal.json was updated.
-
Is there any tool to run makefile on save?
I don’t use NeoVim but this look like it could work.
-
A little tool called Shipwright.nvim, Lush without lush & some other junk
(If you want buid-on-save, you could use fwatch.nvim, your own libuv wrapper, entr, or any other watcher. Automatic building is out-of-scope for Shipwright.)
-
Access to libuv is one of the best things about Neovim
The author of fwatch.nvim showed me how easy it was to use libuv to watch files and directories, and after a few days I've been able to implement the feature. It still needs more work and real-world testing, but the fact that a novice like me was able to get this working inside Neovim (and in a couple of hundred lines of code) is astounding.
-
fwatch.nvim, run command or lua functions when files change
It's called fwatch.
What are some alternatives?
plenary.nvim - plenary: full; complete; entire; absolute; unqualified. All the lua functions I don't want to write twice.
nvim-lsp-ts-utils - Utilities to improve the TypeScript development experience for Neovim's built-in LSP client.
lit - Toolkit for developing, sharing, and running luvit/lua programs and libraries.
watchman - Watches files and records, or triggers actions, when they change.
lush.nvim - Create Neovim themes with real-time feedback, export anywhere.
fs - Provide cross platform file operations based on libuv.
lushwal.nvim - Lush.nvim theme for Pywal colors
nvim-lua-guide - A guide to using Lua in Neovim
neorg - Modernity meets insane extensibility. The future of organizing your life in Neovim.
awesome-lua - A curated list of quality Lua packages and resources.
luv-vimdocs