Skip to content
This repository was archived by the owner on Jul 31, 2022. It is now read-only.

Commit f7ab078

Browse files
committed
Revert "Enable in vue files"
This reverts commit f022958.
1 parent fd5556c commit f7ab078

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Lots of new improvements happening! We now have a [`CHANGELOG.md`](https://githu
3131
- go to definition support (input, enum, type)
3232
- outline support
3333

34-
### `gql`/`graphql` tagged template literal support for tsx, jsx, ts, js, vue
34+
### `gql`/`graphql` tagged template literal support for tsx, jsx, ts, js
3535

3636
- syntax highlighting (type, query, mutation, interface, union, enum, scalar, fragments, directives)
3737
- autocomplete suggestions

src/extension.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ export function activate(context: ExtensionContext) {
7070
{ scheme: "file", language: "javascriptreact" },
7171
{ scheme: "file", language: "typescript" },
7272
{ scheme: "file", language: "typescriptreact" },
73-
// this applies grammar and thus highlighting i think?
74-
{ scheme: "file", language: "vue" },
7573
],
7674
synchronize: {
7775
// TODO: should this focus on `graphql-config` documents, schema and/or includes?
@@ -83,10 +81,8 @@ export function activate(context: ExtensionContext) {
8381
true,
8482
),
8583
// these ignore node_modules and .git by default
86-
// this is more important for language features.
87-
// we don't have language features for .vue yet but we can still try to load the files
8884
workspace.createFileSystemWatcher(
89-
"**/{*.graphql,*.graphqls,*.gql,*.js,*.mjs,*.cjs,*.esm,*.es,*.es6,*.jsx,*.ts,*.tsx,*.vue}",
85+
"**/{*.graphql,*.graphqls,*.gql,*.js,*.mjs,*.cjs,*.esm,*.es,*.es6,*.jsx,*.ts,*.tsx}",
9086
),
9187
],
9288
},
@@ -132,7 +128,6 @@ export function activate(context: ExtensionContext) {
132128
"typescript",
133129
"javascriptreact",
134130
"typescriptreact",
135-
"vue",
136131
"graphql",
137132
],
138133
new GraphQLCodeLensProvider(outputChannel),

src/status/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ const statusBarActivationLanguageIds = [
3333
"javascript",
3434
"javascriptreact",
3535
"typescript",
36-
"typescriptreact",
37-
"vue"
36+
"typescriptreact"
3837
];
3938

4039
function initStatusBar(

0 commit comments

Comments
 (0)