Syntax Highlighting Support for FreeBSD Kernel Configuration Files (#2220)

* added FreeBSD kernel configuration file format

* updated format, notably to highlight the word 'include'
This commit is contained in:
TogoorooDev 2021-09-24 14:39:46 -07:00 committed by GitHub
parent a417ec4dcb
commit 395bfc2307
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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):?"