Skip to content

Commit 63a28d1

Browse files
committed
feat: Add Fortran support
1 parent feeada4 commit 63a28d1

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ navigation and the ability to output variable values.
2323
* `dockerfile`
2424
* `dosbatch` (DOS/Windows Batch)
2525
* `fish`
26+
* `fortran`
2627
* `go`
2728
* `java`
2829
* `javascript`
@@ -306,7 +307,7 @@ If it helps to understand these, you can look at the built-in configurations in
306307
| Docker | :+1: | :+1: | :x: | :x: | :x: | :x: | :x: |
307308
| DOS/Windows Batch | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |
308309
| fish | :+1: | :+1: | :x: | :x: | :x: | :x: | :x: |
309-
| Fortran | :x: | :+1: | :x: | :x: | :+1: | :x: | :x: |
310+
| Fortran | :+1: | :+1: | :x: | :x: | :+1: | :x: | :x: |
310311
| Golang | :+1: | :+1: | :+1: | :+1: | :+1: | :x: | :+1: |
311312
| Haskell | :x: | :+1: | :x: | :x: | :x: | :x: | :x: |
312313
| Java | :+1: | :+1: | :+1: | :+1: | :+1: | :x: | :x: |

lua/debugprint/filetypes.lua

+6
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ return {
7373
mid_var = "$",
7474
right_var = '" 1>&2',
7575
},
76+
["fortran"] = {
77+
left = "print *, '",
78+
right = "'",
79+
mid_var = "', ",
80+
right_var = "",
81+
},
7682
["go"] = {
7783
left = 'fmt.Fprintf(os.Stderr, "',
7884
right = '\\n")',

0 commit comments

Comments
 (0)