From a6873450b96ff3c6021997c1d18cb189d4466a36 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Fri, 10 May 2024 18:36:07 +0200 Subject: vim-patch:9.1.0402: filetype: mdd files detected as zsh filetype Problem: filetype: mdd files detected as zsh filetype Solution: detect '*.mdd' files as sh filetype, add links to reference documentation (Wu, Zhenyu) closes: vim/vim#14741 https://github.com/vim/vim/commit/63f2a5b8adfb570792b9a7cbfff1c350913bbe3e Co-authored-by: Wu, Zhenyu --- runtime/lua/vim/filetype.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/lua/vim') diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 4d3d219415..d6f680b195 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -952,6 +952,7 @@ local extension = { env = detect.sh, ksh = detect.ksh, sh = detect.sh, + mdd = 'sh', sieve = 'sieve', siv = 'sieve', sig = detect.sig, @@ -1208,7 +1209,6 @@ local extension = { zsh = 'zsh', zunit = 'zsh', ['zsh-theme'] = 'zsh', - mdd = 'zsh', vala = 'vala', web = detect.web, pl = detect.pl, -- cgit