annotate runtime/syntax/bash.vim @ 19728:41a1ea967a97 v8.2.0420

patch 8.2.0420: Vim9: cannot interrupt a loop with CTRL-C Commit: https://github.com/vim/vim/commit/f1ec378b014efb9897422c40369a6462163a512a Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 20 19:37:47 2020 +0100 patch 8.2.0420: Vim9: cannot interrupt a loop with CTRL-C Problem: Vim9: cannot interrupt a loop with CTRL-C. Solution: Check for CTRL-C once in a while. Doesn't fully work yet.
author Bram Moolenaar <Bram@vim.org>
date Fri, 20 Mar 2020 19:45:03 +0100
parents 03b854983b14
children 71cbad0921c9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18186
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: bash
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Bram
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Last Change: 2019 Sep 27
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 " quit when a syntax file was already loaded
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 if exists("b:current_syntax")
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 finish
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 endif
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 " The actual syntax is in sh.vim and controlled by buffer-local variables.
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 unlet! b:is_sh
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 unlet! b:is_kornshell
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 let b:is_bash = 1
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 runtime! syntax/sh.vim
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 let b:current_syntax = 'bash'
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20 " vim: ts=8