From 50c248b71955bc5f2fb8f76d0df912f73126bef9 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 30 May 2020 17:27:36 +0100 Subject: [PATCH] Install languagetool to check my grammer Gotta keep @sedders123 happy! --- files/vscode-settings.json | 7 ++++++- tasks/vscode.yml | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/files/vscode-settings.json b/files/vscode-settings.json index 24bdf34..04971df 100644 --- a/files/vscode-settings.json +++ b/files/vscode-settings.json @@ -82,5 +82,10 @@ "enabled": true, "args": [], "pathToBinary": "/usr/bin/terraform-lsp" - } + }, + "languageToolLinter.serviceType": "managed", + "languageToolLinter.managed.classPath": "/usr/share/languagetool:/usr/share/java/languagetool/*.jar", + "languageToolLinter.lintOnOpen": true, + "languageToolLinter.languageTool.language": "en-GB", + "languageToolLinter.languageTool.motherTongue": "en-GB", } diff --git a/tasks/vscode.yml b/tasks/vscode.yml index 7f70630..0292ade 100644 --- a/tasks/vscode.yml +++ b/tasks/vscode.yml @@ -8,6 +8,7 @@ loop: - visual-studio-code-bin - universal-ctags-git + - languagetool - name: Create VSCode user directory file: @@ -82,7 +83,7 @@ - github.vscode-pull-request-github - randomfractalsinc.vscode-data-preview - vstirbu.vscode-mermaid-preview - + - davidlday.languagetool-linter - name: Install VSCode extensions shell: code --install-extension {{ item }} --force