Skip to content

Commit 1031e8c

Browse files
shellrc: code cleanup
1 parent 7f4dc3a commit 1031e8c

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.config/cvim/init/init.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ elseif g:vimDistribution ==# g:VIM_FLAVOR_NEOVIM
362362
" treesitter: parser generator to provide syntax highliting
363363
let cvim_plugins.treesitter = {
364364
\ 'name': 'nvim-treesitter/nvim-treesitter',
365-
\ 'event': 'BufReadPost',
365+
\ 'eventDISABLED': 'BufReadPost',
366366
\ 'cmd': ["TSInstall", "TSUpdate", "TSInstallInfo", "TSEnable", "TSDisable", "TSModuleInfo", "TSUninstall"],
367367
\ 'post_update_hook': ':TSUpdate',
368368
\ 'setting': "$HOME/.config/cvim/settings/nvim_treesitter.lua"

.oh-my-shell/shellrc/bootstrap/helper2.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@ is_fedora() {
3232
esac
3333
}
3434

35-
is_archl () {
35+
is_archl() {
3636
if ! test -f /etc/os-release; then
3737
return 1
3838
fi
3939

4040
case "$(grep -E '^(ID)=' /etc/os-release | cut -d'=' -f 2)" in
4141
arch*)
42-
return 0
43-
;;
42+
return 0
43+
;;
4444
*)
45-
return 1
46-
;;
45+
return 1
46+
;;
4747
esac
4848
}
4949

.oh-my-shell/shellrc/plugins/neovim/post.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
pyenv install --skip-existing "${_NEOVIM_PYENV_VIRTUALENV_VERSION}"
1212
# Create python environement for neovim only
1313
pyenv virtualenv "${_NEOVIM_PYENV_VIRTUALENV_VERSION}" "${_NEOVIM_PYENV_VIRTUALENV_NAME}"
14-
# Install neovim's python dependencies for vim.provider-python to detect a valid
14+
# Install neovim's python dependencies for vim.provider-python to detect a valid
1515
# python environment
1616
pyenv exec python -m pip install --upgrade pip
1717
for pkg in pynvim; do

0 commit comments

Comments
 (0)