nvim-config
lua-language-server
nvim-config | lua-language-server | |
---|---|---|
9 | 79 | |
22 | 3,024 | |
- | 2.2% | |
8.6 | 9.4 | |
16 days ago | 3 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.
nvim-config
-
Need help setting working directory of my debugger for python in neovim
my config works fine without setting cwd. I have a helper module that gets the Python path from the currently active virtual environment.
-
how to avoid overlapping of gitsigns and lsp warning symbols in SignColumn?
Check my config for inspiration and the example screenshot above from my config.
-
Documentation Comment highlighting with TreeSitter
Not sure for Java (that’s Java right?), but for Python I inject rst in docstring comments. See here for my config.
-
What else can I do to speedup startup time?
How is anybody supposed to be able to help, given the information you provide? My setup with perhaps 60 plug-ins load in ~40ms (according to Lazy profile) on my M2 mac or ryzen 5600 workstation. You can take a look here.
-
How to fetch python installed path from lua?
My python helper, ftplugin and DAP executable
-
VenvSelect 0.2
Cool! I’ve written something similar in my config. But it only supports selecting conda environments. Typically I specify the venv and venvPath in pyrightconfig.json, so I use the code to show the current env in the status line and to supply the executable to dap and neotest.
-
Start conda envs after opening a file + conda envs telefoscope & Send to terminal (both for python)?
helpers/python.lua
-
After using Emacs (with evil) for a long time I switched to Neovim.
You should not add the ft = "latex" for VimTeX (https://github.com/isaksamsten/nvim-config/blob/main/lua/plugins/latex.lua)! VimTeX is already properly lazy by design (through use of ftplugin/ and autoload/). This is explained in a note just below the install instructions in the readme. :)
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?
statuscol.nvim - Status column plugin that provides a configurable 'statuscolumn' and click handlers.
lua-lsp - A Lua language server
telescope-conda.nvim
luacheck - A tool for linting and static analysis of Lua code.
debugpy - An implementation of the Debug Adapter Protocol for Python
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
py_lsp.nvim - Lsp Plugin for working with Python virtual environments
lsp-mode - Emacs client/library for the Language Server Protocol
nvim-dap-python - An extension for nvim-dap, providing default configurations for python and methods to debug individual test methods or classes.
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
NeoTerm.lua - You can attach a terminal-buffer for each buffer.
nvim-cmp - A completion plugin for neovim coded in Lua.