nvim-lua-guide
neodev.nvim
Our great sponsors
nvim-lua-guide | neodev.nvim | |
---|---|---|
152 | 49 | |
4,992 | 1,919 | |
- | - | |
6.3 | 9.1 | |
over 1 year ago | 21 days ago | |
sed | Lua | |
- | Apache License 2.0 |
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-lua-guide
-
Any guide to start writing plugins?
Nvim Lua guide
- I'm fairly new to Neovim, and I want to configure my neovim setup.
-
Advice/Resources for creating/debugging a Neovim Plugin?
My main struggles beyond a simple problem are just the inability to find a way to easily debug things and the general process for setting up a plugin. I mostly work with Python/Jupyter, some C and Lua/Bash scripts, and usually you can either write tests/print debug for smaller scale things or get some stack trace if you have an error. With Neovim development, it just feels like there's nothing more besides update plugin, try on neovim, fail, bash head against wall, and repeat, and that doesn't quite seem efficient or correct - I'm sure there's something out there that should make the process easier. I tried looking online but I haven't found many that really fit my needs (most of the resources here seem more targeted towards creating your own init.lua, and Luadev plugin's commands are all broken (:Luadev-RunLine and any other command keeps telling me I got some trailing space). I'm really just looking to see how to make a snippet library, but there doesn't seem to be much that helps me. If someone could let me know how they debug their plugin or point me to any external resources, please let me know!
-
[help] use neovim to edit files at remote - server?
I have no guidance for the first point. For the second, checkout the neovim lua guide or : lua-guide
- Is there a vim/neovim equivalent to something like "Mastering Emacs"?
- [Neovim] Puis-je obtenir un guide sur la façon d’installer Packer pour les nuls absolus ?
- New to NeoVim, looking to learn
- Where to learn about Neovim and it's plugins? (Deeply)
-
Where would be a good place to start trying to learn lua with no previous programming experience. Trying to learn it as it’s the main language used in a project I’m apart of and want to help out
A quick google search turned up this codeacademy class on learning to program in Javascript. I didn't vet the whole thing, but it appears to assume you know nothing, which is what you need. If you go through that, you can then consume one of the resources that /u/luascriptdev post to equate that back to Lua. Again, the concepts translate.
- how to understand lua config
neodev.nvim
-
Configuring Neovim with Fennel
Also the vim API signature is not available using the fennel-language-server In lua you can install neodev and you will get some nice lsp suggestions with the vim API, this is sadly not possible in fennel right now
-
Lsp and files outside nvim/lua/
Other than the root_dir problem, I think the lsp server might have been attached but configuration would be different. For instance, if one is using folke's neodev for API completion (https://github.com/folke/neodev.nvim/issues/158) it would work differently for nvim config files and other lua workspaces.
- Editing init.lua with lua_ls on gives "Undefined global : vim" ?
-
Best way to debug performance issues?
Try to debug what happens on exit, maybe https://neovim.io/doc/user/starting.html#-V works. Regarding nvim-cmp being slow, do you have https://github.com/folke/neodev.nvim installed? If yes, try removing it and checking if it's an issue. It's been slowing down my completion for a while until I pinpointed the issue (and it was slowing it down always, not just when editing lua code).
-
Unable to setup lua_ls, though other servers work
You can try neodev.nvim. It's really great especially if you're planning for plugin development.
-
Help with autocomplete for plugins
Are you using https://github.com/folke/neodev.nvim ?
- how to fix LSP , vim undefined!
-
Get Lua LSP to know about vim.api
Okay i figured it out myself https://github.com/folke/neodev.nvim provides lua files with the required type signatures.
- LSP for your lua config
- Amazing LSP for your lua config
What are some alternatives?
kickstart.nvim - A launch point for your personal nvim configuration
neogen - A better annotation generator. Supports multiple languages and annotation conventions.
packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
nvim-lspconfig - Quickstart configs for Nvim LSP
vim-test - Run your tests at the speed of thought
nvim-cmp - A completion plugin for neovim coded in Lua.
plenary.nvim - plenary: full; complete; entire; absolute; unqualified. All the lua functions I don't want to write twice.
IntelliJ-EmmyLua - Lua IDE/Debugger Plugin for IntelliJ IDEA
tree-sitter-svelte - Tree sitter grammar for Svelte
awesome - awesome window manager
which-key.nvim - 💥 Create key bindings that stick. WhichKey is a lua plugin for Neovim 0.5 that displays a popup with possible keybindings of the command you started typing.
neoconf.nvim - 💼 Neovim plugin to manage global and project-local settings