Neovim-from-scratch
lua-language-server
Neovim-from-scratch | lua-language-server | |
---|---|---|
81 | 79 | |
5,254 | 3,011 | |
0.6% | 1.8% | |
5.0 | 9.4 | |
about 2 months ago | 6 days ago | |
Lua | Lua | |
GNU General Public License v3.0 only | 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.
Neovim-from-scratch
-
How to configure vim like an IDE
They also provide a "from-scratch" option, to be easier to understand
-
New User C Setup Help?
I would recommend the Neovim from Scratch series on Youtube with the addition of the code_runner.nvim plugin. It's a good config that will teach you a lot about configuring Neovim. code_runner.nvim is a nice addition, especially for a university student. Good luck!
-
How to learn neovim
I don't know myself how I learned neovim, but I started with using a repo called Neovim-from-scratch, but I'm not sure if it's still up to date, but I used it as my base config then started to add plugins I want and remove plugins I don't need. Most of the people recommend kickstart.nvim now as base config for neovim lua config.
- [nvChad] lspconfig
-
NOOB Needs help
Hey So I am trying to setup the neovim config for gopls and ts-server using [this](https://github.com/LunarVim/Neovim-from-scratch/tree/06-LSP), Now I would like to clarify that I have copy pasted from this guys repo and I do understand what he is doing to some extent. But for some reason in the file `lua/user/lsp/handlers.lua` He creted the following function ```lua local function lsp_keymaps(bufnr)
- [Neovim] Question de débutant sur le chargement de NVIM-Web-Devicons
- Is there a good neovim plugin that integrates a pre-configured lsp+treesitter+telescope?
-
Help with getting started with Neovim
This is the GitHub repo for the aforementioned playlist.
-
Opinions on pre-made configurations (e.g. LunarVim, AstroNvim)
I would recommend LazyVim or Kickstart.nvim. If you don't want to do any configuration, LunarVim might be for you. I would recommend the Neovim from Scratch config since it is very good and essentially has an accompanying guide. However, it is slightly out of date and needs a few tweaks to work properly.
- Migrating from VSCode to Neovim
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?
LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
lua-lsp - A Lua language server
kickstart.nvim - A launch point for your personal nvim configuration
luacheck - A tool for linting and static analysis of Lua code.
AstroNvim - AstroNvim is an aesthetic and feature-rich neovim config that is extensible and easy to use with a great set of plugins
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
lsp-mode - Emacs client/library for the Language Server Protocol
LazyVim - Neovim config for the lazy
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
zls - A Zig language server supporting Zig developers with features like autocomplete and goto definition
nvim-cmp - A completion plugin for neovim coded in Lua.