nvim-oxi
luacheck
Our great sponsors
nvim-oxi | luacheck | |
---|---|---|
13 | 14 | |
811 | 1,864 | |
- | - | |
9.3 | 0.0 | |
4 days ago | over 1 year ago | |
Rust | Lua | |
MIT License | 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.
nvim-oxi
-
[Rust] How to write my config file (init.lua) using nvim-oxi (init.rs)?
How about reading this doc? https://github.com/noib3/nvim-oxi/tree/main/examples
-
nvim-github-codesearch - a plugin for searching Github's code search API from within neovim
thank you for the support! I'm pretty new to rust (and lua for that matter) so it took me a little while to get my head around how to use mlua in the context of a neovim plugin. Two resources that were really helpful for me were these two github projects: https://github.com/noib3/nvim-oxi and https://github.com/willothy/nvim-utils
-
What's the deal with Fennel in Neovim?
nvim-oxi, which uses bindings to the C functions used by the lua API. Note that it's currently broken for nvim nightly, but I'm working on a fix.
- Announcing nvim-utils, a new library for building Neovim plugins in Rust!
-
Introducing neovim config written in C
I intended to do a rust version but I think it's too easy with nvim-oxi, feel free to take the initiative and make a blazing fast nvim config!
- Experience with statically typed lang that compiles to lua for plugins/scripting?
-
A neovim previewer plugin written in rust
For your problem, there is a new nvim plugin framework nvim-oxi which seems promising, you may have a try.
-
Can neovim config be baked in to make neovim blazingly fast?
Lol I started trying to see what that’d look like earlier this year: https://github.com/turboladen/init.rs. It works fine and loads pretty fast. Started by making https://github.com/turboladen/overkill_nvim, but stopped work after https://github.com/noib3/nvim-oxi showed up.
-
Are there any 3rd party libraries which enables us to write nvim plugins?
nvim-oxi lets you do it in Rust…
-
A History of Lua
> now that https://github.com/noib3/nvim-oxi has come out, I am going to use it even less.
Woah, interesting ... provided there's success and uptake with this ... I'm imagining it could lead to a really slick and responsive editing experience that those of using (at least) slightly sluggish plugins might have been missing for a while now.
luacheck
-
strict.lua
Not directly related, but luacheck can also help with this.
-
Lua is eye candy
Yeah. While you're at it, make a habit of running luacheck on your files as it helps catch a lot of these issues that can sneak in by mistake: https://github.com/mpeterv/luacheck
-
Help me reload my lua config! :)
Using something like https://github.com/mpeterv/luacheck might be helpful too. Will check all the files in a directory and will let you know which one might be problematic.
-
Lsp: Execute callback after server initialized
I'm trying to setup luacheck (via null-ls) to run alongside sumneko-lua (via nvim-lspconfig).
-
A History of Lua
Most of the time nothing is used. The thing is that iterating is so quick, that you find the problems really fast.
Although, I've been using luacheck https://github.com/mpeterv/luacheck. It is quite nice, but you have to write down the global variables by hand on the config file.
-
Writing a neovim plugin. Please send criticisms to make the code better
Check out luacheck. It can help spot typos or mistakes you've made and warn against anti-patterns. I'd honestly only look into setting it up locally because there's no benefit to putting it in a CI pipeline unless you have one for another reason IMO. This should be all the config you need:
- Modding Help - Error Diagnosis
-
GitHub Successors
Sadly the scenario that the successor feature is intended to alleviate has very much become reality. The creator of Luacheck (Peter Melnichenko) passed away a couple of years ago, and ever since then the GitHub repository has been in a state of limbo. Multiple unofficial forks have come and gone, but Peter's is still the first result on Google if you search "luacheck". It isn't even possible to change the README or pin an issue to get people's attention about the fork; to this day people are still posting issues to the old repo.
And Luacheck is "the" Lua static analysis tool that pretty much everyone uses, so it's a very significant issue.
https://github.com/mpeterv/luacheck/issues/198
-
Kind of define in lua
You are probably right, but luacheck is well aware of which global variables are built-in and it has special comments, such as -- no global or --ignore in case you very want to overwrite them.
-
Is it ok to name a function for example "function self:Example() end" or is it a big mistake? And how to find (directory) location of a function?
Calling your function self is as much bad practice as calling it print. Use luacheck to avoid such mistakes.
What are some alternatives?
typescript.nvim - A Lua plugin, written in TypeScript, to write TypeScript (Lua optional).
lua-language-server - A language server that offers Lua language support - programmed in Lua
lua-enumerable - A port of ruby's Enumerable module to Lua
StyLua - An opinionated Lua code formatter
tl - The compiler for Teal, a typed dialect of Lua
LuaFormatter - Code formatter for Lua
nvim-previewer - A concisemark previewer plugin for neovim
luau - A fast, small, safe, gradually typed embeddable scripting language derived from Lua
hererocks - Python script for installing Lua/LuaJIT and LuaRocks into a local directory
NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
impatient.nvim - Improve startup time for Neovim
NvChad - An attempt to make neovim cli as functional as an IDE while being very beautiful , blazing fast. [Moved to: https://github.com/NvChad/NvChad]