comparison runtime/autoload/dist/script.vim @ 33065:3284c31289f5 v9.0.1820

patch 9.0.1820: Rexx files may not be recognised Commit: https://github.com/vim/vim/commit/e06afb7860805537ccd69966bc03169852c9b378 Author: Doug Kearns <dougkearns@gmail.com> Date: Tue Aug 29 22:21:35 2023 +0200 patch 9.0.1820: Rexx files may not be recognised Problem: Rexx files may not be recognised Solution: Add shebang detection and improve disambiguation of *.cls files closes: #12951 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Doug Kearns <dougkearns@gmail.com>
author Christian Brabandt <cb@256bit.org>
date Tue, 29 Aug 2023 22:30:07 +0200
parents 32c3b7b75f7b
children 449601dbba78
comparison
equal deleted inserted replaced
33064:b29e94d1422f 33065:3284c31289f5
210 return 'nix' 210 return 'nix'
211 211
212 # Crystal 212 # Crystal
213 elseif name =~ '^crystal\>' 213 elseif name =~ '^crystal\>'
214 return 'crystal' 214 return 'crystal'
215
216 # Rexx
217 elseif name =~ '^\%(rexx\|regina\)\>'
218 return 'rexx'
215 219
216 endif 220 endif
217 221
218 return '' 222 return ''
219 enddef 223 enddef