From: TogoorooDev Date: Fri, 24 Sep 2021 21:39:46 +0000 (-0700) Subject: Syntax Highlighting Support for FreeBSD Kernel Configuration Files (#2220) X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=395bfc2307b0d301468f87ef8bad4f1447a5352b;p=micro.git Syntax Highlighting Support for FreeBSD Kernel Configuration Files (#2220) * added FreeBSD kernel configuration file format * updated format, notably to highlight the word 'include' --- diff --git a/runtime/syntax/freebsd-kernel.yaml b/runtime/syntax/freebsd-kernel.yaml new file mode 100644 index 00000000..2e42568c --- /dev/null +++ b/runtime/syntax/freebsd-kernel.yaml @@ -0,0 +1,14 @@ +filetype: freebsd-kernel + +detect: + filename: "GENERIC$" + +rules: + - identifier: "^(cpu|ident|options|makeoptions|device|include)" + - statement: "\\s\\S*" + + - comment: + start: "#" + end: "$" + rules: + - todo: "(TODO|XXX|FIXME):?"