Mercurial > vim
view runtime/indent/bash.vim @ 18243:463da8586749 v8.1.2116
patch 8.1.2116: no check for out of memory
Commit: https://github.com/vim/vim/commit/1671de3098b7ab663398dd694b314e7f67a93411
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 5 21:35:16 2019 +0200
patch 8.1.2116: no check for out of memory
Problem: No check for out of memory.
Solution: Check for NULL pointer.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Oct 2019 21:45:04 +0200 |
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