Skip to content

Commit

Permalink
Separate neovim cleanup to its own function
Browse files Browse the repository at this point in the history
  • Loading branch information
aminfara committed Dec 22, 2023
1 parent e3e214c commit 54a86c8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions zshrc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -316,21 +316,21 @@ myzsh_install_nerd_fonts() {
myzsh_install_neovim() {
myzsh_install_nerd_fonts
myzsh_brew_install_or_upgrade neovim stylua
npm install -g neovim tree-sitter-cli
python3 -m pip install pynvim
}

myzsh_uninstall_neovim() {
myzsh_brew_uninstall neovim stylua
npm uninstall -g neovim tree-sitter-cli
python3 -m pip uninstall -y pynvim
myzsh_cleanup_neovim() {
rm -rf "$MYZSH_INSTALLED_DIR"/nvim/plugin/packer_compiled.lua
rm -rf "$HOME"/.config/nvim
rm -rf "$HOME"/.local/share/nvim
rm -rf "$HOME"/.local/state/nvim
rm -rf "$HOME"/.cache/nvim
}

myzsh_uninstall_neovim() {
myzsh_brew_uninstall neovim stylua
myzsh_cleanup_neovim
}

# Mac key repeat for vscode
################################################################################

Expand Down

0 comments on commit 54a86c8

Please sign in to comment.