view runtime/indent/bash.vim @ 19443:6b1a59e71f85 v8.2.0279

patch 8.2.0279: Vim9: no test for deleted :def function Commit: https://github.com/vim/vim/commit/63ce4849efa54d3980446ad337d0e1248ec86182 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 19 15:46:48 2020 +0100 patch 8.2.0279: Vim9: no test for deleted :def function Problem: Vim9: no test for deleted :def function. Solution: Add a test. Clear uf_cleared flag when redefining a function.
author Bram Moolenaar <Bram@vim.org>
date Wed, 19 Feb 2020 16:00:04 +0100
parents 03b854983b14
children 71cbad0921c9
line wrap: on
line source

" Vim indent file
" Language:	bash
" Maintainer:	Bram
" Last Change:	2019 Sep 27

" Only load this indent file when no other was loaded.
if exists("b:did_indent")
   finish
endif

" The actual indenting is in sh.vim and controlled by buffer-local variables.
unlet! b:is_sh
unlet! b:is_kornshell
let b:is_bash = 1

runtime! indent/sh.vim

" vim: ts=8