1
0
forked from aniani/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: #16223

Signed-off-by: David Thievon <pdkfan@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
David Thievon
2024-12-15 19:22:17 +01:00
committed by Christian Brabandt
parent b48108d58e
commit 5a2e0cf5f1
3 changed files with 6 additions and 0 deletions

View File

@@ -1315,6 +1315,9 @@ au BufNewFile,BufRead Kconfig,Kconfig.debug,Config.in setf kconfig
" Lace (ISE) " Lace (ISE)
au BufNewFile,BufRead *.ace,*.ACE setf lace au BufNewFile,BufRead *.ace,*.ACE setf lace
" Lalrpop
au BufNewFile,Bufread *.lalrpop setf lalrpop
" Larch Shared Language " Larch Shared Language
au BufNewFile,BufRead .lsl call dist#ft#FTlsl() au BufNewFile,BufRead .lsl call dist#ft#FTlsl()

View File

@@ -407,6 +407,7 @@ def s:GetFilenameChecks(): dict<list<string>>
kscript: ['file.ks'], kscript: ['file.ks'],
kwt: ['file.k'], kwt: ['file.k'],
lace: ['file.ace', 'file.ACE'], lace: ['file.ace', 'file.ACE'],
lalrpop: ['file.lalrpop'],
latte: ['file.latte', 'file.lte'], latte: ['file.latte', 'file.lte'],
ld: ['file.ld', 'any/usr/lib/aarch64-xilinx-linux/ldscripts/aarch64elf32b.x'], ld: ['file.ld', 'any/usr/lib/aarch64-xilinx-linux/ldscripts/aarch64elf32b.x'],
ldapconf: ['ldap.conf', '.ldaprc', 'ldaprc'], ldapconf: ['ldap.conf', '.ldaprc', 'ldaprc'],

View File

@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
929,
/**/ /**/
928, 928,
/**/ /**/