nvim-lightbulb
vim-rooter
Our great sponsors
nvim-lightbulb | vim-rooter | |
---|---|---|
15 | 24 | |
731 | 1,190 | |
- | - | |
4.4 | 4.4 | |
9 months ago | 3 days 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
vim-rooter
-
netrw made better
This or users may have monorepo style projects and vim-rooter to auto-set cwd to specific directories within the project based on certain file markers (e.g. makefile, package.json, ...etc), to accomplish something like :e dir1/file.go | make would run make and then :e dir2/file2.ts | make would run npm.
-
How to go up a directory while inside of telescope.nvim?
maybe you are already doing this and you want to access files outside the project directory but if not I use vim-rooter to set the root dir of the project automatically when I open vim
-
You don't need 'vim-rooter' (usually) or How to set up smart autochange of current directory
The airblade/vim-rooter plugin is an essential part of my Neovim workflow. It automatically changes current directory (:h current-directory) for every buffer to a more natural one (like to path of its Git repository). For me this has the following benefits:
-
Vim Issue with opened buffer file location
It depends where you open vim. If you are in home and open a file (even in sub directories) like nvim directory/file.txt, uour vim's current working directory (aka cwd) will be home. A way to make this automatic I think is the built in autocd (or something like that) and plugins like vim-rooter.
-
How to stop Telescope from changing the root directory after opening a file?
An alternative would be using a plugin like vim-rooter : https://github.com/airblade/vim-rooter
- NvimTree - how to get this behaviour?
-
How to properly cd, so plugins pick up project root?
I just use rooter and avoid thinking about it...
-
How to automatically cd to the git root of the current buffer?
There's vim-rooter, which is great.
- Whenever I'm looking for plugins these days [OC]
-
What’s the best start up screen written in Lua?
No, it doesn't change current directory. For that, use sessions or airblade/vim-rooter (or wait around couple of months for planned 'mini.root' :) ). And, of course, you can create custom items which will change current directory.
What are some alternatives?
lspsaga.nvim - improve neovim lsp experience [Moved to: https://github.com/nvimdev/lspsaga.nvim]
project.nvim - The superior project management solution for neovim.
harpoon
vim-startify - :link: The fancy start screen for Vim.
lspsaga.nvim - improve neovim lsp experience
nvim-bqf - Better quickfix window in Neovim, polish old quickfix window.
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
nvim-spectre - Find the enemy and replace them with dark power.
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
neogen - A better annotation generator. Supports multiple languages and annotation conventions.
replacer.nvim - A powerful refactoring tool for nvim.