[bitbake-devel] [PATCH 0/9] BitBake Vim indentation plugin
Chris Laplante
chris.laplante at agilent.com
Fri Oct 11 16:22:58 UTC 2019
This patchset adds Vim indentation support for the BitBake language.
It supports indenting variable assignments, Python and shell tasks/functions.
To accomplish Python indentation, it uses a hacked-up version of the Python indenter
from Vim upstream. The upstream shell indenter is used directly, without
modification, however in the future it will be necessary to modify the shell
indenter to properly support "fakeroot" shell tasks.
The following changes since commit 94f6b31befda5c496f65e863a6f8152b42d7ebf0:
build-appliance-image: Update to master head revision (2019-10-09 22:28:50 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib cpl/bitbake-vim
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=cpl/bitbake-vim
Chris Laplante (9):
bitbake: contrib/vim: initial commit, with unmodified code from
indent/python.vim
bitbake: contrib/vim: Modify Python indentation to work with 'python
do_task {'
bitbake: contrib/vim: More Python indenting; move indent file to
correct directory
bitbake: contrib/vim: Special handling of bb.fatal
bitbake: contrib/vim: don't redeclare indenter
bitbake: contrib/vim: renaming & comments
bitbake: contrib/vim: indenting for assignments; tweak Python
indenting
bitbake: contrib/vim: handle shell indenting
bitbake: contrib/vim: Add copyright and license notice
bitbake/contrib/vim/indent/bitbake.vim | 342 +++++++++++++++++++++++++++++++++
1 file changed, 342 insertions(+)
create mode 100644 bitbake/contrib/vim/indent/bitbake.vim
--
2.7.4
More information about the bitbake-devel
mailing list