mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
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:
parent
6c2c77b128
commit
cc38630d39
@ -672,6 +672,7 @@ local extension = {
|
||||
k = 'kwt',
|
||||
ACE = 'lace',
|
||||
ace = 'lace',
|
||||
lalrpop = 'lalrpop',
|
||||
latte = 'latte',
|
||||
lte = 'latte',
|
||||
ld = 'ld',
|
||||
|
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user