project.nvim
nvim-lightbulb
Our great sponsors
project.nvim | nvim-lightbulb | |
---|---|---|
28 | 15 | |
1,208 | 731 | |
- | - | |
0.0 | 4.4 | |
25 days ago | 9 months ago | |
Lua | Lua | |
Apache License 2.0 | 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.
project.nvim
-
What is the simple straight answer to create lsp workspace and add files to workspace in neovim ?
Here is what I have searched: 1. https://github.com/ahmedkhalf/project.nvim/tree/main : plug manage already exist projects, not create 2. https://neovim.io/doc/user/lsp.html : too complicated 3. https://www.youtube.com/watch?v=NL8D8EkphUw&ab_channel=JoseanMartinez : basic tutorial 4. https://www.reddit.com/r/neovim/comments/ysg4wb/lsp_action_on_multiple_files/ : Mentioned use quickfix, but seems too be a workaround. Not a nice solution.
-
Is there a way of setting a global variable when switching the project?
If someone is interested on this, there is an issue for a feature: https://github.com/ahmedkhalf/project.nvim/issues/73
-
Telescope: how to search project directory?
You can use one of the "rooter" plugins like this one to dynamically change your working directory: https://github.com/ahmedkhalf/project.nvim
-
R code chunks not showing using Nvim-R for R Markdown
https://github.com/ahmedkhalf/project.nvim I have never used this but it seems to involve defining "projects", and any time you enter a project, whatever settings you require (such as current working directory) will get set up for you.
-
How to manage projects efficiently in neovim using telescope
Not sure if this is what you are looking for, but projects.nvim automatically changes your pwd in nvim. If you then use telescope's find_files and to search in the pwd, you basically get project-scoped searches. https://github.com/ahmedkhalf/project.nvim
-
Smart current working directory
This works very well: https://github.com/ahmedkhalf/project.nvim
-
Nvim-tree opens the git root directory instead of the one passed as argument
Maybe you have ahmedkhalf/project.nvim setup. In this case, use `manual_mode` as indicated in the readme https://github.com/ahmedkhalf/project.nvim. It worked for me
-
Noob question about projects
Not sure what you mean by that. Perhaps your looking for a fuzzy finder. I use telescope for most of this. It can be used to find any file in your project and there's extensions for pulling up projects
-
olddirs.nvim: oldfiles, but for directories
project.nvim
Sharing a lightweight plugin I wrote yesterday which provides some functions for accessing previously used current working directories. I know that this is similar to some other "workspace" / "project" plugins which already exist, so I've pasted the motivation section from the README. >I work in a large monorepo and change my working directory depending on what part of the codebase I'm looking at to give my LSP (gopls) a chance and to improve the usefulness of fuzzy finding files. I want to change the current working directory back to a previously used one without having to configure a "project" or "workspace" beforehand. This requirement is not satisfied (as far as I can tell) by existing similar plugins: > - project.nvim > - telescope-project.nvim > - workspaces.nvim. > - neovim-session-manager > olddirs.nvim is very lightweight and doesn't provide any niceties (out of the box) like some of the above plugins, it's literally just :oldfiles for directories. > \ I say "out of the box" since some features like the searching or browsing of files inside a previous directory can be implemented by adding actions to the olddirs.nvim Telescope picker.
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
What are some alternatives?
vim-rooter - Changes Vim working directory to project root.
lspsaga.nvim - improve neovim lsp experience [Moved to: https://github.com/nvimdev/lspsaga.nvim]
neovim-session-manager - A simple wrapper around :mksession.
harpoon
telescope-project.nvim
lspsaga.nvim - improve neovim lsp experience
mini.nvim - Library of 35+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
projectile - Project Interaction Library for Emacs
neogen - A better annotation generator. Supports multiple languages and annotation conventions.