Mercurial > vim
view runtime/ftoff.vim @ 33689:9e9aebc5f971
runtime(sh): add shDblParen to shLoopList for bash (#13445)
Commit: https://github.com/vim/vim/commit/a390e984db20575dc726b4e0ebf95582265df8e7
Author: Lucien Grondin <grondilu@yahoo.fr>
Date: Sat Oct 28 21:40:48 2023 +0200
runtime(sh): add shDblParen to shLoopList for bash (https://github.com/vim/vim/issues/13445)
add shDblParen to shLoopList to correctly highlight
arithmetic expressions for Bash and Ksh
This should allow code such as:
```bash
declare -i i j
for i in foo bar
do ((j = 1 << j))
done
```
Signed-off-by: Lucien Grondin <grondilu@yahoo.fr>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 28 Oct 2023 21:45:06 +0200 |
parents | 4027cefc2aab |
children |
line wrap: on
line source
" Vim support file to switch off detection of file types " " Maintainer: The Vim Project <https://github.com/vim/vim> " Last change: 2023 Aug 10 " Former Maintainer: Bram Moolenaar <Bram@vim.org> if exists("did_load_filetypes") unlet did_load_filetypes endif " Remove all autocommands in the filetypedetect group silent! au! filetypedetect *