blob: f45ba74816c9e828d7b68272e0bc1beb7d1e1452 [file] [log] [blame]
Bram Moolenaarb529cfb2022-07-25 15:42:07 +01001" Vim indent file
2" Language: BitBake
3" Copyright: Copyright (C) 2019 Agilent Technologies, Inc.
4" Maintainer: Chris Laplante <chris.laplante@agilent.com>
5" License: You may redistribute this under the same terms as Vim itself
6
7if exists("b:did_indent")
8 finish
9endif
10
11runtime! indent/sh.vim
12
13setlocal indentexpr=bitbake#Indent(v:lnum)
14setlocal autoindent
15setlocal nolisp
16setlocal shiftwidth=4
17setlocal expandtab
18setlocal indentkeys+=<:>,=elif,=except,0=\"
19
20let b:undo_indent .= ' inde< ai< lisp< sw< et< indk<'
21
22let b:did_indent = 1