mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-12 10:24:43 +02:00
load plugin configs via packer (#221)
This commit is contained in:
parent
dd70434857
commit
655fe84c49
2 changed files with 5 additions and 2 deletions
|
@ -9,6 +9,8 @@ if fn.empty(fn.glob(install_path)) > 0 then
|
|||
execute 'packadd packer.nvim'
|
||||
end
|
||||
|
||||
local my = function(file) require(file) end
|
||||
|
||||
vim.cmd 'autocmd BufWritePost plugins.lua PackerCompile' -- Auto compile when there are changes in plugins.lua
|
||||
|
||||
-- require('packer').init({display = {non_interactive = true}})
|
||||
|
@ -55,7 +57,8 @@ return require('packer').startup(function(use)
|
|||
use 'ryanoasis/vim-devicons'
|
||||
|
||||
-- Status Line and Bufferline
|
||||
use 'glepnir/galaxyline.nvim'
|
||||
use { 'glepnir/galaxyline.nvim', config = my('nv-galaxyline') }
|
||||
-- use { 'glepnir/galaxyline.nvim', config = function() require'nv-galaxyline' end } -- inline fn alternative
|
||||
use 'romgrk/barbar.nvim'
|
||||
|
||||
-- Telescope
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue