vim-patch:9.1.0929: filetype: lalrpop files are not recognized

Problem:  filetype: lalrpop files are not recognized
Solution: detect '*.lalrpop' files as lalrpop filetype
          (David Thievon)

References:
https://github.com/lalrpop/lalrpop

closes: vim/vim#16223

5a2e0cf5f1

Co-authored-by: David Thievon <pdkfan@gmail.com>
This commit is contained in:
Christian Clason 2024-12-15 19:27:12 +01:00 committed by Christian Clason
parent 6c2c77b128
commit cc38630d39
2 changed files with 2 additions and 0 deletions

View File

@ -672,6 +672,7 @@ local extension = {
k = 'kwt',
ACE = 'lace',
ace = 'lace',
lalrpop = 'lalrpop',
latte = 'latte',
lte = 'latte',
ld = 'ld',

View File

@ -404,6 +404,7 @@ func s:GetFilenameChecks() abort
\ 'kscript': ['file.ks'],
\ 'kwt': ['file.k'],
\ 'lace': ['file.ace', 'file.ACE'],
\ 'lalrpop': ['file.lalrpop'],
\ 'latte': ['file.latte', 'file.lte'],
\ 'ld': ['file.ld', 'any/usr/lib/aarch64-xilinx-linux/ldscripts/aarch64elf32b.x'],
\ 'ldapconf': ['ldap.conf', '.ldaprc', 'ldaprc'],