diff options
Diffstat (limited to 'bitbake/contrib/vim/ftplugin/bitbake.vim')
| -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 | ||
