view runtime/indent/bitbake.vim @ 30849:fe54ba93f830 v9.0.0759

patch 9.0.0759: huge build on macos does not use Perl Commit: https://github.com/vim/vim/commit/fa7bb1d937308a60280e070b01baba5342148ff7 Author: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Sat Oct 15 14:17:37 2022 +0100 patch 9.0.0759: huge build on macos does not use Perl Problem: Huge build on macos does not use Perl. Solution: Re-enable the Perl interface using "dynamic". (closes https://github.com/vim/vim/issues/11375)
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Oct 2022 15:30: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