mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	vim-patch:9.1.1420: tests: could need some more tests for shebang lines
Problem:  tests: could need some more tests for shebang lines
Solution: add more shebang patterns to test_filetype.vim
          (Eisuke Kawashima)
closes: vim/vim#17409
54a09e7e86
Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
			
			
This commit is contained in:
		| @@ -1069,9 +1069,14 @@ func s:GetScriptEnvChecks() abort | |||||||
|       \ 'perl': [['#!/usr/bin/env VAR=val perl']], |       \ 'perl': [['#!/usr/bin/env VAR=val perl']], | ||||||
|       \ 'scala': [['#!/usr/bin/env VAR=val VVAR=vval scala']], |       \ 'scala': [['#!/usr/bin/env VAR=val VVAR=vval scala']], | ||||||
|       \ 'awk': [['#!/usr/bin/env --split-string=VAR= awk -vFS="," -f']], |       \ 'awk': [['#!/usr/bin/env --split-string=VAR= awk -vFS="," -f']], | ||||||
|  |       \ 'ruby': [['#!/usr/bin/env --split-string=ruby --debug']], | ||||||
|  |       \ 'sed': [['#!/usr/bin/env -iS sed -f']], | ||||||
|  |       \ 'zsh': [['#!/usr/bin/env -iS VAR=val zsh -l']], | ||||||
|       \ 'execline': [['#!/usr/bin/env execlineb']], |       \ 'execline': [['#!/usr/bin/env execlineb']], | ||||||
|       \ 'scheme': [['#!/usr/bin/env VAR=val --ignore-environment scheme']], |       \ 'scheme': [['#!/usr/bin/env VAR=val --ignore-environment scheme']], | ||||||
|  |       \ 'sh': [['#!/usr/bin/env -S --ignore-environment VAR= sh -u']], | ||||||
|       \ 'python': [['#!/usr/bin/env -S -i VAR=val python -B -u']], |       \ 'python': [['#!/usr/bin/env -S -i VAR=val python -B -u']], | ||||||
|  |       \ 'csh': [['#!/usr/bin/env -S VAR= csh -f']], | ||||||
|       \ 'wml': [['#!/usr/bin/env VAR=val --split-string wml']], |       \ 'wml': [['#!/usr/bin/env VAR=val --split-string wml']], | ||||||
|       \ 'nix': [['#!/usr/bin/env nix-shell']], |       \ 'nix': [['#!/usr/bin/env nix-shell']], | ||||||
|       \ } |       \ } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Eisuke Kawashima
					Eisuke Kawashima