[bitbake-devel] [PATCH v2 0/9] BitBake Vim indentation plugin
Chris Laplante
chris.laplante at agilent.com
Thu Oct 17 16:36:46 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.
Changes:
v1->v2: mention the license of the copied Python indent code
add upstream commit ID from which code was taken to commit message
The following changes since commit 52a625582e616aeb7a60411b58211e9fe1365863:
kernel-dev: don't use _append += (2019-10-15 14:17:58 +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 | 343 +++++++++++++++++++++++++++++++++
1 file changed, 343 insertions(+)
create mode 100644 bitbake/contrib/vim/indent/bitbake.vim
--
2.7.4
More information about the bitbake-devel
mailing list