chore(style): convert blocks into functions (see #325)

This commit is contained in:
Marcin Woźniak
2021-11-21 10:50:03 +00:00
committed by AJ ONeal
parent 704265583c
commit ca7a838c6f
61 changed files with 244 additions and 140 deletions
+26 -21
View File
@@ -1,24 +1,29 @@
# mostly lightweight, or essential
webi \
vim-leader \
vim-shell \
vim-sensible \
vim-viminfo \
vim-lastplace \
vim-spell \
vim-ale \
vim-prettier \
vim-whitespace
#!/bin/bash
# requires special hardware (mouse) or software (nerdfont)
webi \
vim-gui \
vim-nerdtree \
nerdfont \
vim-devicons
function __init_vim_beyondcode() {
# mostly lightweight, or essential
webi \
vim-leader \
vim-shell \
vim-sensible \
vim-viminfo \
vim-lastplace \
vim-spell \
vim-ale \
vim-prettier \
vim-whitespace
if [ -n "$(command -v go)" ]; then
webi vim-go
fi
# requires special hardware (mouse) or software (nerdfont)
webi \
vim-gui \
vim-nerdtree \
nerdfont \
vim-devicons
# done
if [ -n "$(command -v go)" ]; then
webi vim-go
fi
# done
}
__init_vim_beyondcode