view runtime/indent/bitbake.vim @ 32285:3eaac488d36f

Added tag v9.0.1473 for changeset 8a7a4c1f41e03e874a8215b6b5e44a0b08be9cf8
author Bram Moolenaar <Bram@vim.org>
date Fri, 21 Apr 2023 19:00:05 +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