From c13ce182fbdff06e8adb4049f579860095c79849 Mon Sep 17 00:00:00 2001 From: AlexAegis Date: Thu, 14 Dec 2023 21:28:41 +0100 Subject: [PATCH] fix(bun): run completions only for fallback installs --- .vscode/settings.json | 4 ++-- modules/bun/XDG_CONFIG_HOME.bun/rc.d/40-bun.sh | 4 +++- modules/pont | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 69f7c059..df8b0aa0 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -10,7 +10,7 @@ "editor.mouseWheelZoom": true, "editor.semanticHighlighting.enabled": true, "editor.fontLigatures": true, - "editor.wordBasedSuggestions": true, + "editor.wordBasedSuggestions": "matchingDocuments", "editor.suggest.localityBonus": true, "editor.snippetSuggestions": "bottom", "editor.quickSuggestionsDelay": 0, @@ -19,7 +19,7 @@ { "column": 120, "color": "#6666668e" } ], "editor.codeActionsOnSave": { - "source.fixAll": true + "source.fixAll": "explicit" }, "files.exclude": { "**/.git": true, diff --git a/modules/bun/XDG_CONFIG_HOME.bun/rc.d/40-bun.sh b/modules/bun/XDG_CONFIG_HOME.bun/rc.d/40-bun.sh index d4a4ef77..b6e5bb4f 100755 --- a/modules/bun/XDG_CONFIG_HOME.bun/rc.d/40-bun.sh +++ b/modules/bun/XDG_CONFIG_HOME.bun/rc.d/40-bun.sh @@ -3,4 +3,6 @@ # completions # shellcheck disable=SC1091 -. "${BUN_INSTALL}/_bun" +if [ -f "${BUN_INSTALL}/_bun" ]; then + . "${BUN_INSTALL}/_bun" +fi diff --git a/modules/pont b/modules/pont index 09e4b79e..c9da25b3 160000 --- a/modules/pont +++ b/modules/pont @@ -1 +1 @@ -Subproject commit 09e4b79ee5fb583f07ce5d9089bb2d514af40cda +Subproject commit c9da25b37bc10112388fa30b93abf92e9c42733c