mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:9.0.1176: smithy files are not recognized (#21751)
Problem: smithy files are not recognized.
Solution: Add a pattern for Smithy files. (Chris Kipp, closes vim/vim#11804)
f68cddabff
Co-authored-by: Chris Kipp <ckipp@pm.me>
This commit is contained in:
parent
3d49d39cd8
commit
8c5c2136fe
@ -327,11 +327,7 @@ local extension = {
|
|||||||
end,
|
end,
|
||||||
eex = 'eelixir',
|
eex = 'eelixir',
|
||||||
leex = 'eelixir',
|
leex = 'eelixir',
|
||||||
am = function(path, bufnr)
|
am = 'elf',
|
||||||
if not path:lower():find('makefile%.am$') then
|
|
||||||
return 'elf'
|
|
||||||
end
|
|
||||||
end,
|
|
||||||
exs = 'elixir',
|
exs = 'elixir',
|
||||||
elm = 'elm',
|
elm = 'elm',
|
||||||
elv = 'elvish',
|
elv = 'elvish',
|
||||||
@ -956,6 +952,7 @@ local extension = {
|
|||||||
hlp = 'smcl',
|
hlp = 'smcl',
|
||||||
smith = 'smith',
|
smith = 'smith',
|
||||||
smt = 'smith',
|
smt = 'smith',
|
||||||
|
smithy = 'smithy',
|
||||||
sml = 'sml',
|
sml = 'sml',
|
||||||
spt = 'snobol4',
|
spt = 'snobol4',
|
||||||
sno = 'snobol4',
|
sno = 'snobol4',
|
||||||
|
@ -529,6 +529,7 @@ let s:filename_checks = {
|
|||||||
\ 'smarty': ['file.tpl'],
|
\ 'smarty': ['file.tpl'],
|
||||||
\ 'smcl': ['file.hlp', 'file.ihlp', 'file.smcl'],
|
\ 'smcl': ['file.hlp', 'file.ihlp', 'file.smcl'],
|
||||||
\ 'smith': ['file.smt', 'file.smith'],
|
\ 'smith': ['file.smt', 'file.smith'],
|
||||||
|
\ 'smithy': ['file.smithy'],
|
||||||
\ 'sml': ['file.sml'],
|
\ 'sml': ['file.sml'],
|
||||||
\ 'snobol4': ['file.sno', 'file.spt'],
|
\ 'snobol4': ['file.sno', 'file.spt'],
|
||||||
\ 'solidity': ['file.sol'],
|
\ 'solidity': ['file.sol'],
|
||||||
|
Loading…
Reference in New Issue
Block a user