Skip to content

Commit

Permalink
Pascal support (#3542)
Browse files Browse the repository at this point in the history
  • Loading branch information
ath3 authored Aug 25, 2022
1 parent f0fb340 commit 86a8ea5
Show file tree
Hide file tree
Showing 5 changed files with 409 additions and 0 deletions.
1 change: 1 addition & 0 deletions book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
| odin || | | `ols` |
| openscad || | | `openscad-language-server` |
| org || | | |
| pascal ||| | `pasls` |
| perl |||| |
| php |||| `intelephense` |
| prisma || | | `prisma-language-server` |
Expand Down
14 changes: 14 additions & 0 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1691,3 +1691,17 @@ roots = ["edgedb.toml"]
[[grammar]]
name ="esdl"
source = { git = "https://github.com/greym0uth/tree-sitter-esdl", rev = "b840c8a8028127e0a7c6e6c45141adade2bd75cf" }

[[language]]
name = "pascal"
scope = "source.pascal"
injection-regex = "pascal"
file-types = ["pas", "pp", "inc", "lpr", "lfm"]
roots = []
comment-token = "//"
indent = { tab-width = 2, unit = " " }
language-server = { command = "pasls", args = [] }

[[grammar]]
name = "pascal"
source = { git = "https://github.com/Isopod/tree-sitter-pascal", rev = "2fd40f477d3e2794af152618ccfac8d92eb72a66" }
Loading

0 comments on commit 86a8ea5

Please sign in to comment.