diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-07-25 15:42:07 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-25 15:42:07 +0100 |
commit | b529cfbd04c02e31cfa88f2c8d88b5ff532d4f7d (patch) | |
tree | dc432e1b5129a6cdddf67ae6468e72315a0452b6 /runtime/indent/bitbake.vim | |
parent | cd6ad6439da2ee2d1a8a6934c9d69e9c2664ba55 (diff) |
Update runtime files
Diffstat (limited to 'runtime/indent/bitbake.vim')
-rw-r--r-- | runtime/indent/bitbake.vim | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/runtime/indent/bitbake.vim b/runtime/indent/bitbake.vim new file mode 100644 index 0000000000..f45ba74816 --- /dev/null +++ b/runtime/indent/bitbake.vim @@ -0,0 +1,22 @@ +" 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 |