Mercurial > vim
view runtime/indent/bitbake.vim @ 32691:8fe1e8750883 v9.0.1676
patch 9.0.1676: warning for buffer in use when exiting early
Commit: https://github.com/vim/vim/commit/16abd997c99b1a40fb0ba54889ce0cf44d7585b4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 8 00:54:06 2023 +0100
patch 9.0.1676: warning for buffer in use when exiting early
Problem: Warning for buffer in use when exiting early.
Solution: Change file names to be able to see what buffer is in use when
exiting.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 08 Jul 2023 02:00:03 +0200 |
parents | 67f31c24291b |
children |
line wrap: on
line source
" Vim indent file " Language: BitBake " Copyright: Copyright (C) 2019 Agilent Technologies, Inc. " Maintainer: Chris Laplante <chris.laplante@agilent.com> " License: You may redistribute this under the same terms as Vim itself if exists("b:did_indent") finish endif runtime! indent/sh.vim setlocal indentexpr=bitbake#Indent(v:lnum) setlocal autoindent setlocal nolisp setlocal shiftwidth=4 setlocal expandtab setlocal indentkeys+=<:>,=elif,=except,0=\" let b:undo_indent .= ' inde< ai< lisp< sw< et< indk<' let b:did_indent = 1