mirror of
https://github.com/neovim/neovim.git
synced 2026-10-26 15:40:20 -05: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 https://github.com/vim/vim/commit/b91b30643af00947e4b0f8758b3e44bb9927faee Co-authored-by: ners <ners@gmx.ch>
This commit is contained in:
1 parent
7b5276b382
commit
c11153b320
2 files changed
+2
No files matched your search
@@ -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