Added spell checker extension for CoC
This commit is contained in:
parent
2c3e3ecdf4
commit
0804b53540
@ -49,6 +49,7 @@ CoC now can use tab to navigate completion list. Make sure the target machine ha
|
|||||||
- `coc-vimlsp` for VIM script
|
- `coc-vimlsp` for VIM script
|
||||||
- `coc-pyright` for Python
|
- `coc-pyright` for Python
|
||||||
- `coc-sh` for SH scripts
|
- `coc-sh` for SH scripts
|
||||||
|
- `coc-spell-checker` : General spell checker in EN
|
||||||
|
|
||||||
### Autocomplete : Completor
|
### Autocomplete : Completor
|
||||||
|
|
||||||
|
@ -17,7 +17,8 @@ user_guide () {
|
|||||||
|
|
||||||
vim_extension () {
|
vim_extension () {
|
||||||
vim +PlugInstall +qall
|
vim +PlugInstall +qall
|
||||||
vim -c "CocInstall coc-vimlsp coc-sh coc-python"
|
vim -c "CocInstall coc-vimlsp coc-sh coc-python coc-spell-checker"
|
||||||
|
vim -c "CocCommand cSpell.enabledLanguageIds sh" # Add SH Script for spell checking
|
||||||
}
|
}
|
||||||
|
|
||||||
user_install () {
|
user_install () {
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
pkg install -y vim tmux bash sudo
|
|
||||||
|
|
||||||
if [[ $(id -u) -ne 0 ]]; then
|
|
||||||
echo "Install as root"
|
|
||||||
conf_dir="/root"
|
|
||||||
else
|
|
||||||
echo "Install as $(whoami)"
|
|
||||||
conf_dir="/home/$(whoami)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# Configuration
|
|
||||||
|
|
||||||
cp ./.vimrc $conf_dir
|
|
||||||
cp -r ./.vim $conf_dir
|
|
||||||
cp -r ./.tmux.conf $conf_dir
|
|
||||||
|
|
||||||
mkdir -p "$conf_dir/.tmux/plugins"
|
|
||||||
[ -d "$conf_dir/.tmux/plugins/tpm" ] || git clone https://github.com/tmux-plugins/tpm /home/$(whoami)/.tmux/plugins/tpm
|
|
Loading…
Reference in New Issue
Block a user