mirror of
https://github.com/neovim/neovim.git
synced 2025-11-28 21:20:45 +00:00
vim-patch:9.1.0839: filetype: leo files are not recognized
Problem: filetype: leo files are not recognized
Solution: detect '*.leo' files as leo filetype, include
a filetype plugin (Riley Bruins)
References:
https://github.com/ProvableHQ/leo
closes: vim/vim#15988
93f65a4ab8
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
This commit is contained in:
committed by
Christian Clason
parent
65b9499e4a
commit
ba40a6dbe3
@@ -408,6 +408,7 @@ func s:GetFilenameChecks() abort
|
||||
\ 'lean': ['file.lean'],
|
||||
\ 'ledger': ['file.ldg', 'file.ledger', 'file.journal'],
|
||||
\ 'less': ['file.less'],
|
||||
\ 'leo': ['file.leo'],
|
||||
\ 'lex': ['file.lex', 'file.l', 'file.lxx', 'file.l++'],
|
||||
\ 'lf': ['lfrc'],
|
||||
\ 'lftp': ['lftp.conf', '.lftprc', 'anylftp/rc', 'lftp/rc', 'some-lftp/rc'],
|
||||
|
||||
Reference in New Issue
Block a user