Skip to main content
summaryrefslogtreecommitdiffstats
blob: 156d63789c207d36209a8af0536c66ab1eca6bcd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package org.eclipse.fx.code.editor.ldef.langs

lua {
	partitioning {
		partition __dftl_partition_content_type
		partition __lua_single_line_comment
		partition __lua_multi_line_comment
		partition __lua_string
		rule {
			multi_line __lua_multi_line_comment 	"--[[" 	=> "]]--"
			single_line __lua_single_line_comment 	"--" 	=> ''
			multi_line __lua_string 				'"' 	=> '"'
		}
	}
	lexical_highlighting {
		rule __dftl_partition_content_type whitespace javawhitespace {
			default lua_default
			lua_keyword {
				keywords [ "function", "end", "for", "if" ]
			}
		}
		rule __lua_single_line_comment {
			default lua_doc_default
		}
		rule __lua_multi_line_comment {
			default lua_doc_default
		}
		rule __lua_string {
			default lua_string
		}
	}
	integration {
		javafx {
			java "org.eclipse.fx.code.editor.langs.codegen.fx.lua" {
				project : "org.eclipse.fx.code.editor.langs.codegen.fx"
			}
		}
	}
}

Back to the top