aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/nvim.sh
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2025-04-21 21:06:36 +0200
committerWilliam Boman <william@redwill.se>2025-04-21 21:53:16 +0200
commit80f2cd7734ff21da4cf1489c9695e440cdcd139f (patch)
tree4e97c2a3b2a416c87985e8efdff6007eaf57823f /scripts/nvim.sh
parentrefactor!: remove `automatic_installation` setting (diff)
downloadmason-lspconfig-80f2cd7734ff21da4cf1489c9695e440cdcd139f.tar
mason-lspconfig-80f2cd7734ff21da4cf1489c9695e440cdcd139f.tar.gz
mason-lspconfig-80f2cd7734ff21da4cf1489c9695e440cdcd139f.tar.bz2
mason-lspconfig-80f2cd7734ff21da4cf1489c9695e440cdcd139f.tar.lz
mason-lspconfig-80f2cd7734ff21da4cf1489c9695e440cdcd139f.tar.xz
mason-lspconfig-80f2cd7734ff21da4cf1489c9695e440cdcd139f.tar.zst
mason-lspconfig-80f2cd7734ff21da4cf1489c9695e440cdcd139f.zip
refactor!: remove handler functionality, add automatic enable feature
This also removes all generated code/docs, including relevant scripts. Mappings are now also dynamically generated instead of compiled. These changes should reduce churn in this plugin and make it more resilient for external changes in Mason and/or nvim-lspconfig. Mappings have been centralized in the registry instead.
Diffstat (limited to 'scripts/nvim.sh')
-rwxr-xr-xscripts/nvim.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/nvim.sh b/scripts/nvim.sh
deleted file mode 100755
index c2dcb6b..0000000
--- a/scripts/nvim.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env bash
-
-set -exuo pipefail
-
-declare -x DEPENDENCIES="${PWD}/dependencies"
-declare -x MASON_DIR="$PWD"
-declare -x MASON_SCRIPT_DIR="${PWD}/scripts"
-
-nvim -u NONE -E -R --headless \
- --cmd "set rtp^=${MASON_SCRIPT_DIR},${MASON_DIR}" \
- --cmd "set packpath^=${DEPENDENCIES}" \
- --cmd "packloadall" \
- --cmd "luafile $1" \
- --cmd "q"