mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -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',
|
k = 'kwt',
|
||||||
ACE = 'lace',
|
ACE = 'lace',
|
||||||
ace = 'lace',
|
ace = 'lace',
|
||||||
|
lalrpop = 'lalrpop',
|
||||||
latte = 'latte',
|
latte = 'latte',
|
||||||
lte = 'latte',
|
lte = 'latte',
|
||||||
ld = 'ld',
|
ld = 'ld',
|
||||||
|
@ -404,6 +404,7 @@ func s:GetFilenameChecks() abort
|
|||||||
\ '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'],
|
||||||
|
Loading…
Reference in New Issue
Block a user