vim-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: vim/vim#14434

b78753db5f

Co-authored-by: 0xadk <0xadk@users.noreply.github.com>
This commit is contained in:
Christian Clason 2024-04-07 18:39:14 +02:00
parent d188b929d4
commit 541c2d3816
2 changed files with 2 additions and 1 deletions

View File

@ -367,6 +367,7 @@ local extension = {
dtsi = 'dts',
dtso = 'dts',
its = 'dts',
keymap = 'dts',
dylan = 'dylan',
intr = 'dylanintr',
lid = 'dylanlid',

View File

@ -216,7 +216,7 @@ func s:GetFilenameChecks() abort
\ 'dracula': ['file.drac', 'file.drc', 'filelvs', 'filelpe', 'drac.file', 'lpe', 'lvs', 'some-lpe', 'some-lvs'],
\ 'dtd': ['file.dtd'],
\ 'dtrace': ['/usr/lib/dtrace/io.d'],
\ 'dts': ['file.dts', 'file.dtsi', 'file.dtso', 'file.its'],
\ 'dts': ['file.dts', 'file.dtsi', 'file.dtso', 'file.its', 'file.keymap'],
\ 'dune': ['jbuild', 'dune', 'dune-project', 'dune-workspace'],
\ 'dylan': ['file.dylan'],
\ 'dylanintr': ['file.intr'],