nvim-lightbulb
asyncrun.vim
Our great sponsors
nvim-lightbulb | asyncrun.vim | |
---|---|---|
15 | 27 | |
731 | 1,817 | |
- | - | |
4.4 | 7.2 | |
9 months ago | about 1 month ago | |
Lua | Vim Script | |
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.
nvim-lightbulb
- nvim-lightbulb 1.0.0 - breaking change
-
What sign icons do you use?
Bonus for nvim-lightbulb: https://imgur.com/a/ZcPw1eJ
-
How would I tell the lsp to allow code actions as long as I am on the line?
Not sure what you mean but if it's about an indicator that there's a code action available in this line you could give kosayoda/nvim-lightbulb a try ...
-
Hello everyone, I've install nvim lsp-config, pylsp and pyright, but I don't know how to enable code actions for it.
Bind something (e.g., ca) to lua vim.lsp.buf.code_action(). Otherwise, https://github.com/kosayoda/nvim-lightbulb could be useful as well.
-
How do I get kotlin LSP to display more of the documentation on hover?
More information at https://github.com/kosayoda/nvim-lightbulb (I don’t think that particular plugin is necessary, but gives away some information).
-
what are the most underrated plugins in your view?
kosayoda/nvim-lightbulb: it helps me a lot with "discoverability" of available actions. Without a visual cue I end up doing too much trial and error to see if some action can be done.
-
Can I pin plugin commits using the native built-in pack plugin system and git submodules?
# add submodule git submodule add https://github.com/kosayoda/nvim-lightbulb # enter the plugin directory and checkout commit cd nvim-lightbulb git checkout cd5267d2d708e908dbd668c7de74e1325eb1e1da cd - # add changes git add nvim-lightbulb
-
[Question] Is there something one can do with the lsp when there is 'fix available'?
It means there's a code action. You might want to look at https://github.com/kosayoda/nvim-lightbulb/, which shown an icon whenever there are actions for the current cursor position (even if there's no diagnostic).
-
Error detected while processing FileType Autocommands for "*" on html
Maybe you are having codeaction listener setup (like nvim-lightbulb) + language servers for formatting/linting only (like efm, diagnosticls or null-ls)
- [LSP-Help] - Simple script to place a sign where code actions are available
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).
-
Output of external command to messages ?
try asyncrun:
-
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:
What are some alternatives?
lspsaga.nvim - improve neovim lsp experience [Moved to: https://github.com/nvimdev/lspsaga.nvim]
vim-dispatch - dispatch.vim: Asynchronous build and test dispatcher
harpoon
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
lspsaga.nvim - improve neovim lsp experience
fzf-lua - Improved fzf.vim written in lua
vim-fugitive - fugitive.vim: A Git wrapper so awesome, it should be illegal
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
asynctasks.vim - :rocket: Modern Task System for Project Building, Testing and Deploying !!
neogen - A better annotation generator. Supports multiple languages and annotation conventions.
todoist.nvim - A todoist extension for neovim