mirror of
https://github.com/neovim/neovim.git
synced 2026-03-31 04:42:03 +00:00
vim-patch:9.1.2021: filetype: fluent files are not recognized (#37117)
Problem: filetype: fluent files are not recognized
Solution: Detect *.ftl files as fluent filetype (ners)
References:
- https://projectfluent.org/
closes: vim/vim#19011
b91b30643a
Co-authored-by: ners <ners@gmx.ch>
This commit is contained in:
@@ -479,6 +479,7 @@ local extension = {
|
||||
fir = 'firrtl',
|
||||
fish = 'fish',
|
||||
flix = 'flix',
|
||||
ftl = 'fluent',
|
||||
focexec = 'focexec',
|
||||
fex = 'focexec',
|
||||
ft = 'forth',
|
||||
|
||||
@@ -298,6 +298,7 @@ func s:GetFilenameChecks() abort
|
||||
\ 'firrtl': ['file.fir'],
|
||||
\ 'fish': ['file.fish'],
|
||||
\ 'flix': ['file.flix'],
|
||||
\ 'fluent': ['file.ftl'],
|
||||
\ 'focexec': ['file.fex', 'file.focexec'],
|
||||
\ 'form': ['file.frm'],
|
||||
\ 'forth': ['file.ft', 'file.fth', 'file.4th'],
|
||||
|
||||
Reference in New Issue
Block a user