nix-dotfiles
nvim-lua-guide
nix-dotfiles | nvim-lua-guide | |
---|---|---|
10 | 152 | |
153 | 4,992 | |
- | - | |
6.8 | 6.3 | |
over 2 years ago | over 1 year ago | |
Lua | sed | |
- | - |
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.
nix-dotfiles
- Would it make sense to load my configuration as a lua plugin?
-
Anyone has a good minimal dot file for neovim optimized for python written in lua?
You can check mine out. There are also some here
-
Neovim - Why I'm switching to Native LSP over CoC
You can also try my full config: https://github.com/mjlbach/nix-dotfiles/blob/master/nixpkgs/configs/neovim/init.lua
-
Indent blankline can now display indent guides on all lines without conceal
I do, in fact, use expandtab
-
vimrc configuration
Here's my init.lua. Neovim nightly will read this by default if you place it at $HOME/.local/share/nvim/init.lua. I use this configuration on the neovim source (c/lua) with clangd and sumneko language server, and on projects for research (python mostly), amongst other things.
-
how to show line number in init."lua"?
Not yet! w is window and o is options. You can check out my init.lua for most of the common ones.
-
Neovim Syntax Suggestions For Modules Inside
For autocompletion, I recommend completion.nvim. Here is the pertinent part of my init.lua (uncomment require'completion'.on_attach()), but you can wrap this in a lua heredoc if you're still using an init.vim.
-
Which lsp client is best ?
Which server? Here is a minimal init.lua and my personal init.lua
-
Unstable packages in configuration.nix (using flakes)
You're not actually using any of those channels. You need to overlay the channels onto your package set. If you hop on the IRC or discord we can work through your specific error message, but here is how I have it configured (with home-manager):
-
Anybody else feel built in LSP still lacking behind CoC?
https://github.com/mjlbach/nix-dotfiles/blob/5f956f9548bdf7f9c954c926e6ab24e94c4bf55d/nixpkgs/configs/neovim/init.lua#L380-L425
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
What are some alternatives?
nvim-lspconfig - Quickstart configs for Nvim LSP
kickstart.nvim - A launch point for your personal nvim configuration
neovim-rust - Sample neovim and vim configurations for Rust development
packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
typescript-language-server - TypeScript & JavaScript Language Server
vim-test - Run your tests at the speed of thought
coc-metals - Deprecated in favor of scalameta/nvim-metals
plenary.nvim - plenary: full; complete; entire; absolute; unqualified. All the lua functions I don't want to write twice.
LanguageClient-neovim - Language Server Protocol (LSP) support for vim and neovim.
tree-sitter-svelte - Tree sitter grammar for Svelte
nvim-compe - Auto completion Lua plugin for nvim
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.