Plugins for the lite text editor
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
558 B

-- mod-version:1 -- lite-xl 1.16
local syntax = require "core.syntax"
syntax.add {
files = { "%.bib$" },
comment = "%%",
patterns = {
{ pattern = {"%%", "\n"}, type = "comment" },
{ pattern = "@%a+", type = "keyword" },
{ pattern = "%a+%s=", type = "keyword2" },
},
symbols = {
["author"] = "keyword",
["doi"] = "keyword",
["issue"] = "keyword",
["journal"] = "keyword",
["month"] = "keyword",
["numpages"] = "keyword",
["pages"] = "keyword",
["publisher"] = "keyword",
}
}