neovim-plugin
persistence.nvim
Our great sponsors
neovim-plugin | persistence.nvim | |
---|---|---|
2 | 8 | |
34 | 531 | |
- | - | |
10.0 | 5.8 | |
over 3 years ago | about 2 months ago | |
Lua | Lua | |
- | 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.
neovim-plugin
-
Should I remove require('plugin').setup() from my plugins?
Definitely remove it, as it is an anti-pattern that gained popularity because individuals often copy content without careful consideration. As far as I know, it primarily originated from this Github post, which was created during the early days of Lua's growing popularity in Neovim as an attempt to reinvent the wheel.
-
Guide: Structuring Lua plugins
I'm pretty sure we got started down the .setup road because of this article by norcalli a few years ago. It was published when plugins started using Lua and suddenly I went from seeing one or two plugins using .setup to literally every single plugin use it.
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?
vim-illuminate - illuminate.vim - (Neo)Vim plugin for automatically highlighting other uses of the word under the cursor using either LSP, Tree-sitter, or regex matching.
neovim-session-manager - A simple wrapper around :mksession.
mason.nvim - Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.
mini.nvim - Library of 35+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort
leap.nvim - Neovim's answer to the mouse 🦘
harpoon
impatient.nvim - Improve startup time for Neovim
lsp_lines.nvim - Mirror of https://git.sr.ht/~whynothugo/lsp_lines.nvim
neoconf - Cli-Tool to handle Neovim configuration.
alpha-nvim - a lua powered greeter like vim-startify / dashboard-nvim
nvim-jdtls - Extensions for the built-in LSP support in Neovim for eclipse.jdt.ls
trouble.nvim - 🚦 A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing.