diff options
| author | Chris Laplante <mostthingsweb@gmail.com> | 2020-07-05 15:04:26 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-08 12:12:45 +0100 |
| commit | 92f256dc564434515ff3ede8ed5be29b04441a79 (patch) | |
| tree | 1a3eaeac7142fe6fa5b19fd8c3795c1ec236de07 /bitbake/contrib/vim/ftplugin | |
| parent | f3cb1662ca3623c1187d17c4ca2aa84d7b57748f (diff) | |
| download | poky-92f256dc564434515ff3ede8ed5be29b04441a79.tar.gz | |
bitbake: contrib/vim: synchronize from kergoth/vim-bitbake rev 4225ee8b4818d7e4696520567216a3a031c26f7d
(Bitbake rev: 24fb1f2fee449589b0c5468cbdebe9a6ffaac932)
Signed-off-by: Chris Laplante <mostthingsweb@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/contrib/vim/ftplugin')
| -rw-r--r-- | bitbake/contrib/vim/ftplugin/bitbake.vim | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/bitbake/contrib/vim/ftplugin/bitbake.vim b/bitbake/contrib/vim/ftplugin/bitbake.vim index db0d75319a..9e8d3e13ce 100644 --- a/bitbake/contrib/vim/ftplugin/bitbake.vim +++ b/bitbake/contrib/vim/ftplugin/bitbake.vim | |||
| @@ -1,2 +1,13 @@ | |||
| 1 | set sts=4 sw=4 et | 1 | " Only do this when not done yet for this buffer |
| 2 | set cms=#%s | 2 | if exists("b:did_ftplugin") |
| 3 | finish | ||
| 4 | endif | ||
| 5 | |||
| 6 | " Don't load another plugin for this buffer | ||
| 7 | let b:did_ftplugin = 1 | ||
| 8 | |||
| 9 | let b:undo_ftplugin = "setl cms< sts< sw< et< sua<" | ||
| 10 | |||
| 11 | setlocal commentstring=#\ %s | ||
| 12 | setlocal softtabstop=4 shiftwidth=4 expandtab | ||
| 13 | setlocal suffixesadd+=.bb,.bbclass | ||
