From 347db8ca3e4ea8f77ef3b99a2bf10afc10afed64 Mon Sep 17 00:00:00 2001 From: Pasha Bibko <156938226+PashaBibko@users.noreply.github.com> Date: Sat, 3 May 2025 21:51:36 +0100 Subject: [PATCH] Made github recognise LX (Hopefully) --- .gitattributes | 5 ++++- example/main.lx | 8 +++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index dfe0770..5b98a91 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,5 @@ -# Auto detect text files and perform LF normalization +# Auto detect text files and perform LF normalization # * text=auto + +# Recognises LX files as a custom language # +*.lx linguist-language=LX diff --git a/example/main.lx b/example/main.lx index f38dbb8..d8bfbd4 100644 --- a/example/main.lx +++ b/example/main.lx @@ -1,4 +1,10 @@ func main() { - return 34 + int a + a = 783412 + + int b + b = 6 + + return a + b }