From dcef77d48f622a872a79b7123038b8d2bf558296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Ch=C5=82odnicki?= Date: Mon, 29 Nov 2021 22:19:20 +0100 Subject: [PATCH] Use simpler document selector (#51) --- LSP-eslint.sublime-settings | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/LSP-eslint.sublime-settings b/LSP-eslint.sublime-settings index 2ab941d..7ec41f0 100644 --- a/LSP-eslint.sublime-settings +++ b/LSP-eslint.sublime-settings @@ -125,36 +125,11 @@ ] }, "command": ["${node_bin}", "${server_path}", "--stdio"], + "selector": "source.js | source.ts | source.jsx | source.tsx | source.js.jsx | source.js.react | source.ts.react | text.html.vue | text.html.basic", "env": { // Enables ESLint debug mode // "DEBUG": "eslint:*,-eslint:code-path", // The value of `NODE_ENV` to use when running eslint tasks. // "NODE_ENV": "production", }, - "languages": [ - { - "languageId": "javascriptreact", - "document_selector": "source.jsx | source.js.jsx | source.js.react", - }, - { - "languageId": "javascript", - "document_selector": "source.js", - }, - { - "languageId": "typescriptreact", - "document_selector": "source.tsx | source.ts.react", - }, - { - "languageId": "typescript", - "document_selector": "source.ts", - }, - { - "languageId": "vue", - "document_selector": "text.html.vue", - }, - { - "languageId": "html", - "document_selector": "text.html.basic", - }, - ], }