asyncrun.vim
lsp-zero.nvim
Our great sponsors
asyncrun.vim | lsp-zero.nvim | |
---|---|---|
27 | 130 | |
1,815 | 3,488 | |
- | - | |
7.2 | 9.3 | |
27 days ago | 6 days ago | |
Vim Script | 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.
asyncrun.vim
-
Is there a plugin for async shell :%!command ?
I'm familiar with asyncrun.vim, but it outputs as quickfix. I specifically want to filter editor text (as stdin/stdout).
-
When creating a new window, can you open to the CWD in your terminal emulator of choice?
If you want to open a new terminal in the CWD of neovim, you couls either use neovim's built in terminal or, if it needa to be kitty, use the neovim AsyncRun-plugin and start kitty with the necessary command-line options to start in neovims's CWD(I uae this with Alacritty instead of Kitty).
-
How do you handle level productivity: autoformat, insert debug statement, execute file?
For running the file there are several tools. I have been using asynctasks.vim which is built on top of asyncrun.vim which I usually use to open a tmux pane and run the code/test. I've been looking at switching to overseer.nvim but haven't yet. I use justfiles to define all of my tasks.
-
How do you guys run the code you write with vim?
I can :Man blah to look up docs or :AsyncRun to build/run with jumpable output in the quickfix. Doing it within vim means I can pull from any register for pasting, yank without a mouse, hide buffers or move them to tabs, etc.
-
VSCode -> VIM, but how do I accomplish the other IDE tasks?
I use asyncrun.vim to see compile output as it happens (line by line instead of the whole dump when compile completes) and asynchronously (so I can keep navigating around).
-
Run code with F5 and leave buffer open
Also AsyncRun and AsyncTasks worth a mention.
-
Asyncrun and ANSI codes
Hey folks, I'm using asyncrun to run async commands on vim, but some of them output ansi colorcodes, I've found powerman's AnsiEsc which is able to conceal and highlight them very well, but that only work for the current buffer, so there's no way to automate it from g:asyncrun_exit and I can't set the -post from asynctasks, has anyone found a way to fix this?
- Run code in Nvim
-
Run Any Language with Same Macro!
As you can see, I use asyncrun.nvim since sometime compiling/running will take quite long. For some complex situations, like c++ project with cmake, I use following code:
-
Run external commands in background
Recently I came across AsyncRun, a plugin that handles that. https://github.com/skywind3000/asyncrun.vim
lsp-zero.nvim
-
Using nvim-lint as a null-ls alternative for linters
Personally, i think nvim-lint is the best alternative currently, specially so because it has no dependencies on external binaries. This guide assumes you already have your LSP set up with nvim-lspconfig (or an alternative like lsp-zero). You should also have an way to install the linters you are gonna need, i highly recommend Mason with mason-lspconfig.
-
LazyVim
I went with a minimal approach ... I still use my `.vimrc` file, removed all code completion stuff and added LSP https://github.com/VonHeikemen/lsp-zero.nvim/blob/v2.x/doc/m... ... next step treesitter but i'm in no hurry :)
-
As someone new to neovim, should I even bother with LSP?
For those new to neovim, the documentation in lsp-zero has a tutorial that shows a configuration from scratch. It shows how to get a plugin a manager, a colorscheme, and setup lsp-zero.
https://github.com/VonHeikemen/lsp-zero.nvim for the win!
-
How to configure vim like an IDE
For neovim, you can still use the same extensions; however there's also a built-in LSP client. The downside of using the built-in is you'll need to have more extensions installed/configured to get all the features out of the box...BUT projects do exist to help simplify that, like lsp-zero.
-
Your favourite Neovim plugins?
lap-zero.nvim - default config for nvim-lspconfig, mason.nvim, nvim-cmp.
-
How to make nvim-jdtls work with lsp-zero?
In version v2.x the keybindings you set on the "global" on_attach of lsp-zero should work without any extra config. v2.x also has a tutorial on how to work with nvim-jdtls: setup with nvim-jdtls
-
Help me to get the best python Neovim environment
Creator of lsp-zero suggested a complete solution to use ray-x/lsp_signature in this issue: https://github.com/VonHeikemen/lsp-zero.nvim/issues/69.
-
Fix html - css - js
I use lsp-zero which lets me handle lsp and completition easily as it bundles a bunch of plugins such as lsp-config, cmp and Mason. Here it is: https://github.com/VonHeikemen/lsp-zero.nvim
What are some alternatives?
null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
nvim-lspconfig - Quickstart configs for Nvim LSP
vim-dispatch - dispatch.vim: Asynchronous build and test dispatcher
lua-language-server - A language server that offers Lua language support - programmed in Lua
mason-lspconfig.nvim - Extension to mason.nvim that makes it easier to use lspconfig with mason.nvim.
nvim-lsp-installer - Further development has moved to https://github.com/williamboman/mason.nvim!
nvim-cmp - A completion plugin for neovim coded in Lua.
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
workspaces.nvim - a simple plugin to manage workspace directories in neovim
markdown-preview.nvim - markdown preview plugin for (neo)vim
cheatsheet.nvim - A cheatsheet plugin for neovim with bundled cheatsheets for the editor, multiple vim plugins, nerd-fonts, regex, etc. with a Telescope fuzzy finder interface!
kickstart.nvim - A launch point for your personal nvim configuration