mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-18 15:05:28 +02:00
feat(extension): Also activate for (incorrectly detected) yaml files
This commit is contained in:
parent
ff60de6a2b
commit
521a4735ce
@ -15,7 +15,8 @@
|
||||
"vscode": "^1.74.0"
|
||||
},
|
||||
"activationEvents": [
|
||||
"onLanguage:plaintext"
|
||||
"onLanguage:plaintext",
|
||||
"onLanguage:yaml"
|
||||
],
|
||||
"main": "./out/extension",
|
||||
"scripts": {
|
||||
|
@ -18,7 +18,13 @@ export function activate(context: ExtensionContext) {
|
||||
{
|
||||
scheme: 'file',
|
||||
language: 'plaintext',
|
||||
pattern: "**/sshconfig",
|
||||
pattern: "**/{config,sshconfig,sshd_config,sshdconfig,fstab,hosts,aliases}",
|
||||
},
|
||||
// Some configs seem to be incorrectly detected as yaml
|
||||
{
|
||||
scheme: 'file',
|
||||
language: 'yaml',
|
||||
pattern: "**/{config,sshconfig,sshd_config,sshdconfig,fstab,hosts,aliases}",
|
||||
},
|
||||
]
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user