view runtime/indent/bitbake.vim @ 32597:015cfc6bba2a v9.0.1630

patch 9.0.1630: "make clean" at the toplevel fails Commit: https://github.com/vim/vim/commit/8d687a7424b33b7ad7f6778b0c5d092a44f4bc3a Author: Ben Jackson <puremourning@gmail.com> Date: Wed Jun 14 15:10:02 2023 +0100 patch 9.0.1630: "make clean" at the toplevel fails Problem: "make clean" at the toplevel fails. Solution: Clean the indent and syntax directories in a sub-shell. (Ben Jackson, closes #12536, closes #12526)
author Bram Moolenaar <Bram@vim.org>
date Wed, 14 Jun 2023 16:15: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