mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
vim-patch:8.2.5015: Hoon and Moonscript files are not recognized (#18747)
Problem: Hoon and Moonscript files are not recognized.
Solution: Add filetype patterns. (Goc Dundar, closes vim/vim#10478)
bf82df0dd4
This commit is contained in:
@@ -283,6 +283,7 @@ local extension = {
|
||||
hjson = 'hjson',
|
||||
hog = 'hog',
|
||||
hws = 'hollywood',
|
||||
hoon = 'hoon',
|
||||
htt = 'httest',
|
||||
htb = 'httest',
|
||||
iba = 'ibasic',
|
||||
@@ -418,6 +419,7 @@ local extension = {
|
||||
tsc = 'monk',
|
||||
isc = 'monk',
|
||||
moo = 'moo',
|
||||
moon = 'moonscript',
|
||||
mp = 'mp',
|
||||
mof = 'msidl',
|
||||
odl = 'msidl',
|
||||
@@ -1058,6 +1060,7 @@ local filename = {
|
||||
['.dircolors'] = 'dircolors',
|
||||
['/etc/dnsmasq.conf'] = 'dnsmasq',
|
||||
Containerfile = 'dockerfile',
|
||||
dockerfile = 'dockerfile',
|
||||
Dockerfile = 'dockerfile',
|
||||
npmrc = 'dosini',
|
||||
['/etc/yum.conf'] = 'dosini',
|
||||
|
||||
Reference in New Issue
Block a user