Skip to content

BitBake Vim indentation plugin

Chris Laplante bitbake-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 3 repliesIn review
  2. v19 patches 4 repliesSuperseded

Changes from the cover letter

v1->v2: mention the license of the copied Python indent code
add upstream commit ID from which code was taken to commit message

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9bitbake: contrib/vim: initial commit, with unmodified code from indent/python.vimbitbake/contrib/vim/bitbake.vim+238 -00 replies
2/9bitbake: contrib/vim: Modify Python indentation to work with 'python do_task {'bitbake/contrib/vim/bitbake.vim+27 -170 replies
3/9bitbake: contrib/vim: More Python indenting; move indent file to correct directorybitbake/contrib/vim/indent/bitbake.vim+21 -00 replies
4/9bitbake: contrib/vim: Special handling of bb.fatalbitbake/contrib/vim/indent/bitbake.vim+1 -10 replies
5/9bitbake: contrib/vim: don't redeclare indenterbitbake/contrib/vim/indent/bitbake.vim+4 -00 replies
6/9bitbake: contrib/vim: renaming & commentsbitbake/contrib/vim/indent/bitbake.vim+4 -30 replies
7/9bitbake: contrib/vim: indenting for assignments; tweak Python indentingbitbake/contrib/vim/indent/bitbake.vim+53 -30 replies
8/9bitbake: contrib/vim: handle shell indentingbitbake/contrib/vim/indent/bitbake.vim+13 -10 replies
9/9bitbake: contrib/vim: Add copyright and license noticebitbake/contrib/vim/indent/bitbake.vim+7 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/9] BitBake Vim indentation plugin

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