Skip to content

Commit 68567d7

Browse files
sknaumovzyv
authored andcommitted
Ticket #5003: highlight Kconfig output files
* .config is already highlighted as Java properties => reuse it. It is not ideal, but better than nothing. * Additionally hightlight: - .config.* - e.g. .config.old produced by Kconfig. - *defconfig - used in Linux kernel, Buildroot, Busybox, U-Boot, Zephyr. * Kconfig.defconfig should still be treated as Kconfig definition file, not as its output. Signed-off-by: Sergey Naumov <sknaumov@gmail.com> Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
1 parent 3e15940 commit 68567d7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

misc/syntax/Syntax.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,5 +379,8 @@ include tree-meta.syntax
379379
file (/Kconfig(\\.[A-z0-9-]\+)\*|/Config\\.(in|src)(\\.[A-z0-9-]\+)\*|.\*\\.kconf(ig)?)$ Kconfig
380380
include kconfig.syntax
381381

382+
file ..\*(\\.config(\\.[A-z0-9-]\+)\*|defconfig)$ Kconfig\soutput
383+
include properties.syntax
384+
382385
file .\* unknown
383386
include unknown.syntax

0 commit comments

Comments
 (0)