Skip to content

Commit a33794d

Browse files
authored
Merge pull request #131 from shishiousan/fortran
Add support for Fortran
2 parents 9f85c44 + 9f95479 commit a33794d

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
return {
2+
["interface"] = "interface",
3+
block_construct = "block_construct",
4+
derived_type_definition = "derived_type_definition",
5+
derived_type_procedures = "derived_type_procedures",
6+
do_loop_statement = "do_loop_statement",
7+
else_clause = "else_clause",
8+
elseif_clause = "elseif_clause",
9+
["function"] = "function",
10+
function_statement = "function_statement",
11+
if_statement = "if_statement",
12+
included_items = "included_items",
13+
["subroutine"] = "subroutine",
14+
assignment_statement = "assignment_statement",
15+
subroutine_call = "subroutine_call",
16+
subroutine_statement = "subroutine_statement",
17+
variable_declaration = "variable_declaration",
18+
}

lua/hlchunk/utils/ts_node_type/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ M.lua = require("hlchunk.utils.ts_node_type.lua")
66
M.rust = require("hlchunk.utils.ts_node_type.rust")
77
M.yaml = require("hlchunk.utils.ts_node_type.yaml")
88
M.zig = require("hlchunk.utils.ts_node_type.zig")
9+
M.fortran = require("hlchunk.utils.ts_node_type.fortran")
910
M.default = {
1011
"class",
1112
"^func",

0 commit comments

Comments
 (0)