Mercurial > vim
comparison runtime/filetype.vim @ 34801:3c4513ec1b58 v9.1.0273
patch 9.1.0273: filetype: keymap files are not recognized
Commit: https://github.com/vim/vim/commit/b78753db5fac879a76da3519101e815451d0d455
Author: 0xadk <0xadk@users.noreply.github.com>
Date: Sun Apr 7 18:22:41 2024 +0200
patch 9.1.0273: filetype: keymap files are not recognized
Problem: filetype: keymap files are not recognized
Solution: Detect '*.keymap' files as Device Tree Files
(0xadk)
closes: #14434
Signed-off-by: 0xadk <0xadk@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 07 Apr 2024 18:30:04 +0200 |
parents | bf9166e97f23 |
children | b507d9fa3451 |
comparison
equal
deleted
inserted
replaced
34800:e9e17c649844 | 34801:3c4513ec1b58 |
---|---|
661 | 661 |
662 " DTD (Document Type Definition for XML) | 662 " DTD (Document Type Definition for XML) |
663 au BufNewFile,BufRead *.dtd setf dtd | 663 au BufNewFile,BufRead *.dtd setf dtd |
664 | 664 |
665 " DTS/DSTI/DTSO (device tree files) | 665 " DTS/DSTI/DTSO (device tree files) |
666 au BufNewFile,BufRead *.dts,*.dtsi,*.dtso,*.its setf dts | 666 au BufNewFile,BufRead *.dts,*.dtsi,*.dtso,*.its,*.keymap setf dts |
667 | 667 |
668 " Earthfile | 668 " Earthfile |
669 au BufNewFile,BufRead Earthfile setf earthfile | 669 au BufNewFile,BufRead Earthfile setf earthfile |
670 | 670 |
671 " EDIF (*.edf,*.edif,*.edn,*.edo) or edn | 671 " EDIF (*.edf,*.edif,*.edn,*.edo) or edn |