init.lua
By ThePrimeagen
packer.nvim
A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config (by wbthomason)
init.lua | packer.nvim | |
---|---|---|
8 | 180 | |
2,929 | 7,634 | |
- | - | |
6.8 | 3.4 | |
20 days ago | 2 months ago | |
Lua | Lua | |
- | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
init.lua
Posts with mentions or reviews of init.lua.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-19.
-
Is the last primeagen config video a goid starting point?
I found his video from like 9 months ago, and he links the repo, i tried using kickstart and lazynvim but i feel like i would learn so much if i just built a config following thePrimeagen (i am new to nvim/vim as you might've guessed) https://github.com/ThePrimeagen/init.lua
-
on running <leader>ps , i get the Grep > , when i search for anything in Grep > searchterm , it opens the Results with no files even though the search term is present in files,
This looks a lot like you followed ThePrimeagen's video, but missed the hint in the yt comments / his repository README that it needs an installed ripgrep for the grep search to work.
-
Guys can you help me identify which theme is this?
It may be outdated, but this is prime's dotfiles. Looks like it is really rose pine.
-
Neovim vs VSCode Neovim - what are the tradeoffs?
This is it. One last tip is to use lazy as a package manager, it's much easier to use and very powerful. If you've seen these configs from theprimeagen, translating from packer to lazy is pretty easy.
-
Lsp-Zero Autocompletion Doesn't display Method Signature
For my config file I follow ThePrimeagens neovim setup tutorial. https://github.com/ThePrimeagen/init.lua
-
If you want to follow ThePrimeagen 0 to LSP video at https://www.youtube.com/watch?v=w7i4amO_zaE&t=624s but have difficulty following it, I made a textfile of my experience.
'https://github.com/ThePrimeagen/init.lua/tree/master/after/plugin'.
-
ThePrimeagen init.lua
here's the repo i'm referring to: https://github.com/ThePrimeagen/init.lua
-
Configuring Neovim with Lua: What You Should Know
NeoVim is such an amazing and powerful tool. It's insanely fast, flexible, and clean. I honestly can't believe I used to use vimscript to set it up, but anyways, in today's article, I'm going to show you how to start making your neovim config! But before we continue though, I'd like to give a big shout-out to Chris@machine's NeoVim from Scratch series, and ThePrimeagen, since a lot of my config is based on theirs.
packer.nvim
Posts with mentions or reviews of packer.nvim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-21.
-
thethethe.nvim - neovim friendly autocorrect plugin
packer
-
Help Enablin Powerline Font for Lightline in Kitty NeoVim
-- Check if Packer.nvim is already installed if fn.empty(fn.glob(install_path)) > 0 then -- If not installed, clone it from GitHub fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path}) -- Load Packer.nvim vim.cmd [[packadd packer.nvim]] return true end return false end
-
Installing neovim on windows 10 does not work (no really, it doesn't)
local ensure_packer = function() local fn = vim.fn local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim' if fn.empty(fn.glob(install_path)) > 0 then fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path}) vim.cmd [[packadd packer.nvim]] return true end return false end
-
Issue with treesitter highlights, disappears after 5 seconds each time
local fn = vim.fn -- Automatically install packer local install_path = fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim" if fn.empty(fn.glob(install_path)) > 0 then PACKER_BOOTSTRAP = fn.system({ "git", "clone", "--depth", "1", "https://github.com/wbthomason/packer.nvim", install_path, }) print("Installing packer close and reopen Neovim...") vim.cmd([[packadd packer.nvim]]) end -- Autocommand that reloads neovim whenever you save the plugins.lua file vim.cmd([[ augroup packer_user_config autocmd! autocmd BufWritePost plugins.lua source | PackerSync augroup end ]]) -- Use a protected call so we don't error out on first use local status_ok, packer = pcall(require, "packer") if not status_ok then return end -- Have packer use a popup window packer.init({ display = { open_fn = function() return require("packer.util").float({ border = "rounded" }) end, }, }) -- Install your plugins here return packer.startup(function(use) -- My plugins here use({ "wbthomason/packer.nvim" }) -- Have packer manage itself use({ "nvim-lua/plenary.nvim" }) -- Useful lua functions used by lots of plugins use({ "windwp/nvim-autopairs" }) -- Autopairs, integrates with both cmp and treesitter use({ "numToStr/Comment.nvim" }) use({ "JoosepAlviste/nvim-ts-context-commentstring" }) use({ "kyazdani42/nvim-web-devicons" }) use({ "akinsho/bufferline.nvim" }) use({ "moll/vim-bbye" }) use({ "nvim-lualine/lualine.nvim" }) use({ "akinsho/toggleterm.nvim" }) use({ "ahmedkhalf/project.nvim" }) use({ "lewis6991/impatient.nvim" }) use({ "lukas-reineke/indent-blankline.nvim" }) use({ "goolord/alpha-nvim" }) use("folke/which-key.nvim") -- Colorschemes use({ "folke/tokyonight.nvim" }) use("lunarvim/darkplus.nvim") use("bluz71/vim-moonfly-colors") use("fcpg/vim-fahrenheit") use("rainglow/vim") use("wojciechkepka/vim-github-dark") use("gavinok/spaceway.vim") use({"mcchrish/zenbones.nvim", requires = "rktjmp/lush.nvim"}) use({ "ellisonleao/gruvbox.nvim" }) -- Gruvbox theme -- LSP use({ "neovim/nvim-lspconfig" }) -- enable LSP use({ "williamboman/nvim-lsp-installer" }) -- simple to use language server installer use({ "jose-elias-alvarez/null-ls.nvim" }) -- for formatters and linters -- Telescope use({ "nvim-telescope/telescope.nvim" }) -- Treesitter use("nvim-treesitter/nvim-treesitter", {run = ':TSUpdate'}) use("nvim-treesitter/nvim-treesitter-context") use("nvim-treesitter/playground") -- Editor plugins use({ "karb94/neoscroll.nvim" }) -- Git use({ "lewis6991/gitsigns.nvim" }) -- LSP Zero use { 'VonHeikemen/lsp-zero.nvim', requires = { -- LSP Support {'neovim/nvim-lspconfig'}, -- Required {'williamboman/mason.nvim'}, -- Optional {'williamboman/mason-lspconfig.nvim'}, -- Optional -- Autocompletion {'hrsh7th/nvim-cmp'}, -- Required {'hrsh7th/cmp-buffer'}, {'hrsh7th/cmp-path'}, {'hrsh7th/cmp-nvim-lua'}, {'hrsh7th/cmp-nvim-lsp'}, -- Required {'L3MON4D3/LuaSnip'}, -- Required {'rafamadriz/friendly-snippets'}, } } -- Automatically set up your configuration after cloning packer.nvim -- Put this at the end after all plugins if PACKER_BOOTSTRAP then require("packer").sync() end end)
-
Editing init.lua with lua_ls on gives "Undefined global : vim" ?
require('packer').startup(function(use) use 'https://github.com/wbthomason/packer.nvim' use 'https://github.com/neovim/nvim-lspconfig' end)
- error message whenever I write a file
-
[Help] Packer.nvim
git clone --depth 1 https://github.com/wbthomason/packer.nvim\ ~/.local/share/nvim/site/pack/packer/start/packer.nvim
-
Pyright Won't Let me Quit Python Files
``` vim.g.maplocalleader = " " vim.g.mapleader = " " local ensure_packer = function() local fn = vim.fn local install_path = fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim" if fn.empty(fn.glob(install_path)) > 0 then fn.system({ "git", "clone", "--depth", "1", "https://github.com/wbthomason/packer.nvim", install_path }) vim.cmd([[packadd packer.nvim]]) return true end return false end
- [Neovim] Gestionnaire de packages basé à Lua
What are some alternatives?
When comparing init.lua and packer.nvim you can also consider the following projects:
LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
vim-plug - :hibiscus: Minimalist Vim Plugin Manager
gruvbox.nvim - Lua port of the most famous vim colorscheme
lazy.nvim - 💤 A modern plugin manager for Neovim
my_neovim_config
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
neovim - Vim-fork focused on extensibility and usability
nvim-lspconfig - Quickstart configs for Nvim LSP
neovim
paq-nvim - 🌚 Neovim package manager
init.lua vs LunarVim
packer.nvim vs vim-plug
init.lua vs gruvbox.nvim
packer.nvim vs lazy.nvim
init.lua vs my_neovim_config
packer.nvim vs nvim-treesitter
init.lua vs neovim
packer.nvim vs nvim-lspconfig
init.lua vs neovim
packer.nvim vs paq-nvim
init.lua vs nvim-treesitter
packer.nvim vs gruvbox.nvim