Skip to content

Commit

Permalink
reduce installed things
Browse files Browse the repository at this point in the history
  • Loading branch information
nettrino committed Jun 2, 2023
1 parent bde6a60 commit 755a439
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ setup_mac() {

echo "${OK_MSG} Setting mason requirements up"
# https://github.com/williamboman/mason.nvim#requirements
for pkg in neovim rgit curl pipx; do
for pkg in neovim rgit curl pipx ctags; do
if brew ls --versions ${pkg} > /dev/null; then
echo -e "\t Skipping $pkg -- already installed"
else
Expand All @@ -102,7 +102,7 @@ setup_linux() {
sudo add-apt-repository -y ppa:neovim-ppa/stable
sudo apt-get -y update >/dev/null 2>/dev/null
echo "${OK_MSG} Installing required packages"
sudo apt-get -y install npm git curl python3-venv python3-pip 1>/dev/null 2>/dev/null
sudo apt-get -y install npm git exuberant-ctags curl python3-venv python3-pip 1>/dev/null 2>/dev/null
python3 -m pip install --user pipx
python3 -m pipx ensurepath
elif [ "${OS}" == "CentOS" ] || \
Expand All @@ -116,7 +116,7 @@ setup_linux() {
python3 -m pip install --user pipx
python3 -m pipx ensurepath
elif [ "${OS}" == "Fedora" ]; then
sudo dnf install npm git curl python3-virtualenv python3-pip
sudo dnf install npm git curl ctags python3-virtualenv python3-pip
python3 -m pip install --user pipx
python3 -m pipx ensurepath
fi
Expand Down
5 changes: 3 additions & 2 deletions lua/config/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ lsp.preset("recommended")
lsp.nvim_workspace()

lsp.ensure_installed({
"gopls",
-- most auto-install lsps will create issues in systems where the language
-- is not installed by default. Just add python and js things
-- manually via Mason for everything else
"pylsp",
"lua_ls",
"clangd",
"tsserver",
"eslint",
})
Expand Down

0 comments on commit 755a439

Please sign in to comment.