Mercurial > vim
annotate runtime/indent/bitbake.vim @ 31653:ec76f9d2319e v9.0.1159
patch 9.0.1159: extends argument for class not implemented yet
Commit: https://github.com/vim/vim/commit/8367716a6e9589d61a771e6c329da05c9b55e61a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 8 19:54:10 2023 +0000
patch 9.0.1159: extends argument for class not implemented yet
Problem: Extends argument for class not implemented yet.
Solution: Basic implementation of "extends".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 08 Jan 2023 21:00:05 +0100 |
parents | 67f31c24291b |
children |
rev | line source |
---|---|
29450 | 1 " 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 | |
7 if exists("b:did_indent") | |
8 finish | |
9 endif | |
10 | |
11 runtime! indent/sh.vim | |
12 | |
13 setlocal indentexpr=bitbake#Indent(v:lnum) | |
14 setlocal autoindent | |
15 setlocal nolisp | |
16 setlocal shiftwidth=4 | |
17 setlocal expandtab | |
18 setlocal indentkeys+=<:>,=elif,=except,0=\" | |
19 | |
20 let b:undo_indent .= ' inde< ai< lisp< sw< et< indk<' | |
21 | |
22 let b:did_indent = 1 |