annotate runtime/syntax/bash.vim @ 31930:e3ab1d0f2ef9
v9.0.1297
patch 9.0.1297: wrong value for $LC_CTYPE makes the environ test fail
Commit: https://github.com/vim/vim/commit/962d91643520ec3748fcf5af3263d89ccfcdda92
Author: WuerfelDev <dev@wuerfeldev.de>
Date: Fri Feb 10 20:49:08 2023 +0000
patch 9.0.1297: wrong value for $LC_CTYPE makes the environ test fail
Problem: Wrong value for $LC_CTYPE makes the environ test fail.
Solution: Unset $LC_CTYPE when running tests. (closes https://github.com/vim/vim/issues/11963)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Fri, 10 Feb 2023 22:00:03 +0100 |
parents |
03b854983b14 |
children |
71cbad0921c9 |
rev |
line source |
18186
|
1 " Vim syntax file
|
|
2 " Language: bash
|
|
3 " Maintainer: Bram
|
|
4 " Last Change: 2019 Sep 27
|
|
5
|
|
6 " quit when a syntax file was already loaded
|
|
7 if exists("b:current_syntax")
|
|
8 finish
|
|
9 endif
|
|
10
|
|
11 " The actual syntax is in sh.vim and controlled by buffer-local variables.
|
|
12 unlet! b:is_sh
|
|
13 unlet! b:is_kornshell
|
|
14 let b:is_bash = 1
|
|
15
|
|
16 runtime! syntax/sh.vim
|
|
17
|
|
18 let b:current_syntax = 'bash'
|
|
19
|
|
20 " vim: ts=8
|