nvim-config-local
persistence.nvim
nvim-config-local | persistence.nvim | |
---|---|---|
6 | 8 | |
134 | 536 | |
- | - | |
5.0 | 5.8 | |
11 months ago | 2 months ago | |
Lua | Lua | |
MIT License | Apache License 2.0 |
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-config-local
-
Using LazyVim and Mason.nvim LSP manager. How do I add arguments to the clangd or and LSP?
it's been undeprecated recently, but if you would prefer to use a plugin, I use this one
-
[Question] Plugin which sources lua files from a directory depending on project?
The next version of neovim (and currently, nightly) re-enables support for exec, which sounds close to what you want. In the meantime check out https://github.com/klen/nvim-config-local. These both do a single file, but once you're running some code it's easy enough to get that file to source more.
- How to configure telescope (or any other plugin) per project?
-
How do you handle project specific configuration?
I just use nvim-config-local, which is basically just souped up :h 'exrc'. And then from there I typically set makeprg and a custom "run" command if I want, along with any other settings I might want in the project. I tried using some custom runner type plugins in the past but I think this method has provided me with the most flexibility, and I don't have to learn anything new because it's just the same as what i do in my init.lua.
-
How do y'all feel about handling project local settings using a json file?
I took inspiration from nvim-config-local and added an integrity check, to force the user to review the settings file at least once. It's on by default, but is optional. The file can be safe to use if you don't expose any option that allows for arbitrary code execution.
-
Manage project local settings for a language server with lsp-zero
nvim-config-local
persistence.nvim
- per project session saving
-
People who migrated from vscode
persistence.nvim for using session management which is useful
-
is there is a session manager plugin ?
i use persistence.nvim plugin, and i map the commands on my dashboard so i can open my last session
-
How do you handle project specific configuration?
I've been using vim sessions for a while now. Sessions can have their own configuration files and that's what I use for projects. For this to be actually convenient you'll need plugin like persistence.nvim to handle the sessions themselves (or make your own workflow).
-
Guide: Structuring Lua plugins
I like the idea of a "config" module. Plugins like persistence and mason.nvim have it, they allow you to set variables without calling the main module.
-
what are the most underrated plugins in your view?
persistence.nvim: Small session manager. I use some of its functions to also manage project local configs. It is because of this plugin I can use language servers the way I want.
-
which session manager for nvim
persistence.nvim * Automatically save active session to a configurable directory * API to load most recent or current session based on cwd * No direct support for a telescope picker but could probably be setup with vim.ui.select()
-
alpha-nvim: lua powered startup screen
yeah, I was planning on shimming this functionality out to another plugin. sessions have little to do with a startup gui imo. i mention in the docs using something like https://github.com/folke/persistence.nvim
What are some alternatives?
direnv.vim - vim plugin for direnv support
neovim-session-manager - A simple wrapper around :mksession.
project-settings.nvim - Manage project local settings using a json file.
mini.nvim - Library of 35+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort
IDE.nvim - IDE-Like support for NeoVim
harpoon
confiture.nvim - A neovim lua plugin to save and launch project specific commands.
trouble.nvim - 🚦 A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing.
exrc.nvim - Secure Project Local Config for Neovim
persisted.nvim - 💾 Simple session management for Neovim with git branching, autoloading and Telescope support
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
lsp_lines.nvim - Mirror of https://git.sr.ht/~whynothugo/lsp_lines.nvim