From 825c9f885d41746794974150aa2bc19ec2f7417c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Nieruchalski?= Date: Sat, 16 Nov 2024 21:28:30 +0100 Subject: [PATCH] feat: include .agx file extension --- packages/language-server/src/languagePlugin.ts | 2 +- packages/vscode/package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/language-server/src/languagePlugin.ts b/packages/language-server/src/languagePlugin.ts index 8d04e7c..6360db7 100644 --- a/packages/language-server/src/languagePlugin.ts +++ b/packages/language-server/src/languagePlugin.ts @@ -9,7 +9,7 @@ import { URI } from "vscode-uri"; export const analogLanguagePlugin: LanguagePlugin = { getLanguageId(uri) { - if (uri.path.endsWith(".analog") || uri.path.endsWith(".ag")) { + if (uri.path.endsWith(".analog") || uri.path.endsWith(".ag") || uri.path.endsWith(".agx")) { return "analog"; } }, diff --git a/packages/vscode/package.json b/packages/vscode/package.json index c7a70e6..fa2c243 100644 --- a/packages/vscode/package.json +++ b/packages/vscode/package.json @@ -32,7 +32,8 @@ }, "extensions": [ ".analog", - ".ag" + ".ag", + ".agx" ] } ],