Skip to content

Commit ab71e52

Browse files
committed
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>
1 parent 1b1a788 commit ab71e52

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
@@ -369,5 +369,8 @@ include dockerfile.syntax
369369
file (/Kconfig(\\.[A-z0-9-]\+)\*|/Config\\.(in|src)(\\.[A-z0-9-]\+)\*|.\*\\.kconf(ig)?)$ Kconfig
370370
include kconfig.syntax
371371

372+
file ..\*(\\.config(\\.[A-z0-9-]\+)\*|defconfig)$ Kconfig\soutput
373+
include properties.syntax
374+
372375
file .\* unknown
373376
include unknown.syntax

0 commit comments

Comments
 (0)