From 80f2cd7734ff21da4cf1489c9695e440cdcd139f Mon Sep 17 00:00:00 2001 From: William Boman Date: Mon, 21 Apr 2025 21:06:36 +0200 Subject: 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. --- scripts/nvim.sh | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100755 scripts/nvim.sh (limited to 'scripts/nvim.sh') 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" -- cgit v1.2.3-70-g09d2