summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbscan <10503608+bscan@users.noreply.github.com>2024-04-03 17:48:16 -0400
committerGitHub <noreply@github.com>2024-04-03 17:48:16 -0400
commit1f1e798bf3940727280a54ea62d7f100e9074e77 (patch)
tree313f32070afcf41be4492097d572b4c723d3f798
parent1f3e38e74277f1f95b6a4a10012a71eb9826b109 (diff)
parent004d5f564904de9522e6828004ec0309274b237b (diff)
downloadPerlNavigator-1f1e798bf3940727280a54ea62d7f100e9074e77.zip
Merge pull request #123 from WhoIsSethDaniel/logging-on-by-default-for-all
turn logging on by default for all editors
-rw-r--r--server/src/server.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/server.ts b/server/src/server.ts
index 2c33819..4790ed0 100644
--- a/server/src/server.ts
+++ b/server/src/server.ts
@@ -122,7 +122,7 @@ const defaultSettings: NavigatorSettings = {
severity1: "hint",
includePaths: [],
includeLib: true,
- logging: false, // Get logging from vscode, but turn it off elsewhere. Sublime Text seems to struggle with it on Windows
+ logging: true, // Get logging from vscode, but turn it off elsewhere. Sublime Text seems to struggle with it on Windows
enableProgress: false,
};
@@ -351,7 +351,7 @@ connection.onCompletionResolve(async (item: CompletionItem): Promise<CompletionI
let mods = availableMods.get("default");
if (!mods) mods = new Map();
-
+
const docs = await getCompletionDoc(perlElem, perlDoc, mods);
if (docs?.match(/\w/)) {
item.documentation = { kind: "markdown", value: docs };;