Replace vim-plug with built-in package manager

This commit is contained in:
2026-07-28 12:44:27 -07:00
parent c95d6a5c62
commit dc78af93f9
2 changed files with 22 additions and 41 deletions

View File

@@ -7,53 +7,37 @@ let g:loaded_netrwPlugin = 1
let &t_TI = "\<Esc>[>4;2m"
let &t_TE = "\<Esc>[>4;m"
" Automatically install vim-plug plugin manager
" https://github.com/junegunn/vim-plug/wiki/tips#automatic-installation
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
if empty(glob(data_dir . '/autoload/plug.vim'))
silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
lua <<
vim.pack.add({
'https://github.com/nvim-tree/nvim-web-devicons', -- optional
'https://github.com/nvim-tree/nvim-tree.lua',
call plug#begin()
'https://github.com/nvim-treesitter/nvim-treesitter',
Plug 'nvim-tree/nvim-web-devicons' " optional
Plug 'nvim-tree/nvim-tree.lua'
'https://github.com/Mofiqul/dracula.nvim',
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
'https://github.com/nvim-lualine/lualine.nvim',
"Plug 'mg979/vim-visual-multi', {'branch': 'master'}
'https://github.com/akinsho/bufferline.nvim',
Plug 'Mofiqul/dracula.nvim'
'https://github.com/nvim-lua/plenary.nvim',
'https://github.com/nvim-telescope/telescope.nvim',
Plug 'nvim-lualine/lualine.nvim'
-- For managing lsps
'https://github.com/williamboman/mason.nvim',
Plug 'akinsho/bufferline.nvim', { 'tag': '*' }
-- Delete, change and add surrounding pairs
'https://github.com/kylechui/nvim-surround',
Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim', { 'branch': '0.1.x' }
-- Indent line
'https://github.com/lukas-reineke/indent-blankline.nvim',
" Installation manager for 'ripgrep' search tool
Plug 'iruzo/ripgrep.nvim'
'https://github.com/airblade/vim-gitgutter',
" Not sure if this is useful?
" Plug 'rafcamlet/nvim-luapad'
" For managing lsps
Plug 'williamboman/mason.nvim'
" Delete, change and add surrounding pairs
Plug 'kylechui/nvim-surround'
" Indent line
Plug 'lukas-reineke/indent-blankline.nvim'
Plug 'airblade/vim-gitgutter'
" Highlight syntax and support indent for MoonScript
Plug 'leafo/moonscript-vim'
call plug#end()
-- Highlight syntax and support indent for MoonScript
'https://github.com/leafo/moonscript-vim',
}, {confirm = false})
.
colorscheme dracula
set termguicolors