Skip to content

Commit

Permalink
chore(nvim): remove vim-plug (#882)
Browse files Browse the repository at this point in the history
We fully rely on nix for plugin management now.

topic:chorenvim-remove-vim-plug
relative:chorenvim-last-plugin-vim-textobj-argument-moved-to-nix
labels:draft
  • Loading branch information
kaihowl authored Dec 15, 2024
1 parent f20bfa0 commit 51f7b9a
Showing 3 changed files with 4 additions and 27 deletions.
18 changes: 3 additions & 15 deletions nvim/config--nvim--init.vim.symlink
Original file line number Diff line number Diff line change
@@ -94,22 +94,10 @@ endif

set completeopt=menu,menuone,noselect
set shortmess+=c
"}}}

"{{{ plugins
"
" Specify a directory for plugins
call plug#begin(stdpath('data') . '/plugged')

" the plug#end automatically calls "filetype plugin indent on" and "syntax enable"
call plug#end()
" }}}

" {{{ early return for bootstrapping
if exists('g:first_time_startup')
finish
end
" }}}
syntax enable
filetype plugin indent on
"}}}

"{{{ color
exe 'source ' . expand('~/.color/') . 'color.vim'
11 changes: 0 additions & 11 deletions nvim/install.sh

This file was deleted.

2 changes: 1 addition & 1 deletion script/install
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ fi
# If there are more dependencies between installers in the future,
# this needs to be expanded.
if [[ $DOTFILES_PROFILE == minimal ]]; then
installers="./git/install.sh ./nvim/install.sh ./colors/install.sh ./zsh/install.sh ./ssh/install.sh"
installers="./git/install.sh ./colors/install.sh ./zsh/install.sh ./ssh/install.sh"
sed_replace_in_file ~/.zprofile "# dots-profile" "export DOTFILES_PROFILE=minimal # dots-profile"
else
installers=$(find . -name nix -prune -o -name install.sh -print)

0 comments on commit 51f7b9a

Please sign in to comment.