Skip to content
Snippets Groups Projects
Commit c4f8cdee authored by 最萌小汐's avatar 最萌小汐
Browse files

active server in any lua

parent 6f887be0
Branches
Tags
No related merge requests found
......@@ -203,7 +203,7 @@ export function activate(context: ExtensionContext) {
registerCustomCommands(context);
function didOpenTextDocument(document: TextDocument) {
// We are only interested in language mode text
if (document.languageId !== 'lua' || (document.uri.scheme !== 'file' && document.uri.scheme !== 'untitled')) {
if (document.languageId !== 'lua') {
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment