nvim-oxi
lua-language-server
Our great sponsors
nvim-oxi | lua-language-server | |
---|---|---|
13 | 79 | |
811 | 2,988 | |
- | 4.1% | |
9.3 | 9.4 | |
5 days ago | 7 days 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.
lua-language-server
-
Some questions about code formatting with lsp-zero and mason
Check the documentation of lua_ls
-
Beginner question: is there any coding standard for documenting Lua functions or tables emulating OOP?
You can use LLS extension for VSCode. Documentation: https://github.com/LuaLS/lua-language-server/wiki/Annotations
-
Lua: The Little Language That Could
There's lua-language-server which works with types defined in definition files and/or annotations in comments.
-
Documentation Comment highlighting with TreeSitter
Lastly, neovim now supports semantic token highlighting which uses semantic tokens from LSP servers to provide even better, language specific highlighting. Some LSP servers support semantic tokens for doc comments. The lua language server is a good example. Unfortunately, if you're using a language like C or C++, the language servers do not provide semantic tokens for comments because doxygen style comments are not specific to those languages so you might be out of luck for semantic token highlighting.
-
This little thing bugs me: in lua LSP popup content, the closing paren is always highlighted red
I think it is because the language server send a different type for the first line: https://github.com/LuaLS/lua-language-server/blob/eeffd1462b892fda5d01282acf840ba0e154e467/script/core/hover/label.lua (might be one of the other files here, not label)
-
How to add lua-language-server to $PATH
And I was reading this installation guide and after "./bin/lua-language-server " I get this in terminal
-
New to lua
Not sure about typescript but there is a jsdoc equivalent: https://github.com/LuaLS/lua-language-server/wiki/Annotations
-
How complex can I make games in Lua?
Lua with lua-language-server and annotated types is a much nicer experience.
-
mini.nvim - release of version 0.8.0
For it to be language-aware (like provide suggestions for module/table/class methods/fields) you also need language server (like lua_ls for Lua). But even without it you should see suggestions from fallback method. If you don't, then 'mini.completion' is not installed and/or activated.
-
PSA: Changes to the mason.nvim registry
I also want to thank current & past GitHub sponsors who help finance costs associated with the plugin. I regularly pay the surplus forward to other devs whose tooling I heavily rely on (huge shout-out to sumneko for working on the Lua language server, without it a plugin of the complexity of mason.nvim would be impossible, go sponsor them here).
What are some alternatives?
typescript.nvim - A Lua plugin, written in TypeScript, to write TypeScript (Lua optional).
lua-lsp - A Lua language server
lua-enumerable - A port of ruby's Enumerable module to Lua
luacheck - A tool for linting and static analysis of Lua code.
tl - The compiler for Teal, a typed dialect of Lua
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
lsp-mode - Emacs client/library for the Language Server Protocol
nvim-previewer - A concisemark previewer plugin for neovim
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
hererocks - Python script for installing Lua/LuaJIT and LuaRocks into a local directory
nvim-cmp - A completion plugin for neovim coded in Lua.