Skip to content

Commit

Permalink
Add Typst support
Browse files Browse the repository at this point in the history
  • Loading branch information
spitzerd committed Nov 9, 2024
1 parent cdb3e3a commit 9db8dec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@

/.vscode/ltex.*.txt
/.vscode/settings.json

ktlint.jar
3 changes: 3 additions & 0 deletions changelog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
<action type="change">
Update to Java 21
</action>
<action type="add">
Add support for Typst
</action>
</release>
<release version="1.0.3" date="2021-11-28">
<action type="update">
Expand Down
2 changes: 2 additions & 0 deletions src/main/kotlin/org/bsplines/lspcli/tools/FileIo.kt
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ object FileIo {
"swift"
} else if (fileName.endsWith(".ts")) {
"typescript"
} else if (fileName.endsWith(".typ")) {
"typst"
} else if (fileName.endsWith(".vb")) {
"vb"
} else if (fileName.endsWith(".v")) {
Expand Down

0 comments on commit 9db8dec

Please sign in to comment.