0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

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
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
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)
au BufNewFile,BufRead *.ace,*.ACE setf lace
" Lalrpop
au BufNewFile,Bufread *.lalrpop setf lalrpop
" Larch Shared Language
au BufNewFile,BufRead .lsl call dist#ft#FTlsl()

View File

@ -407,6 +407,7 @@ def s:GetFilenameChecks(): dict<list<string>>
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'],

View File

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