view runtime/indent/bitbake.vim @ 29450:67f31c24291b

Update runtime files Commit: https://github.com/vim/vim/commit/b529cfbd04c02e31cfa88f2c8d88b5ff532d4f7d Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jul 25 15:42:07 2022 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Mon, 25 Jul 2022 16:45:06 +0200
parents
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