mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
vim-patch:8.2.4790: lilypond filetype not recognized (#18174)
Problem: Lilypond filetype not recognized.
Solution: Add patterns for lilypond. (Doug Kearns)
c448e9c950
This commit is contained in:
parent
245858460f
commit
a391cd517b
@ -1009,6 +1009,9 @@ au BufNewFile,BufRead *.ll setf lifelines
|
||||
" Lilo: Linux loader
|
||||
au BufNewFile,BufRead lilo.conf setf lilo
|
||||
|
||||
" Lilypond
|
||||
au BufNewFile,BufRead *.ly,*.ily setf lilypond
|
||||
|
||||
" Lisp (*.el = ELisp, *.cl = Common Lisp)
|
||||
" *.jl was removed, it's also used for Julia, better skip than guess wrong.
|
||||
if has("fname_case")
|
||||
|
@ -343,6 +343,8 @@ local extension = {
|
||||
l = "lex",
|
||||
lhs = "lhaskell",
|
||||
ll = "lifelines",
|
||||
ly = "lilypond",
|
||||
ily = "lilypond",
|
||||
liquid = "liquid",
|
||||
cl = "lisp",
|
||||
L = "lisp",
|
||||
|
@ -306,6 +306,7 @@ let s:filename_checks = {
|
||||
\ 'libao': ['/etc/libao.conf', '/.libao', 'any/.libao', 'any/etc/libao.conf'],
|
||||
\ 'lifelines': ['file.ll'],
|
||||
\ 'lilo': ['lilo.conf', 'lilo.conf-file'],
|
||||
\ 'lilypond': ['file.ly', 'file.ily'],
|
||||
\ 'limits': ['/etc/limits', '/etc/anylimits.conf', '/etc/anylimits.d/file.conf', '/etc/limits.conf', '/etc/limits.d/file.conf', '/etc/some-limits.conf', '/etc/some-limits.d/file.conf', 'any/etc/limits', 'any/etc/limits.conf', 'any/etc/limits.d/file.conf', 'any/etc/some-limits.conf', 'any/etc/some-limits.d/file.conf'],
|
||||
\ 'liquid': ['file.liquid'],
|
||||
\ 'lisp': ['file.lsp', 'file.lisp', 'file.asd', 'file.el', 'file.cl', '.emacs', '.sawfishrc', 'sbclrc', '.sbclrc'],
|
||||
|
Loading…
Reference in New Issue
Block a user