summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Laplante via bitbake-devel <bitbake-devel@lists.openembedded.org>2019-10-17 12:36:50 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-11-07 19:42:37 +0000
commitb775e1d82cfbf685436e0f7581480321fdf50c2d (patch)
tree933c58a151f11ca198758e157cad3e2fec6f529a
parent80cf7d4a91301aadae4ea1d9c41efb3bb75ff9ad (diff)
downloadpoky-b775e1d82cfbf685436e0f7581480321fdf50c2d.tar.gz
bitbake: contrib/vim: Special handling of bb.fatal
Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/bitbake/contrib/vim/indent/bitbake.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bitbake/contrib/vim/indent/bitbake.vim b/bitbake/bitbake/contrib/vim/indent/bitbake.vim
index 1c35cb3c32..d8bffe0620 100644
--- a/bitbake/bitbake/contrib/vim/indent/bitbake.vim
+++ b/bitbake/bitbake/contrib/vim/indent/bitbake.vim
@@ -176,7 +176,7 @@ function GetPythonIndent(lnum)
176 endif 176 endif
177 177
178 " If the previous line was a stop-execution statement... 178 " If the previous line was a stop-execution statement...
179 if getline(plnum) =~ '^\s*\(break\|continue\|raise\|return\|pass\)\>' 179 if getline(plnum) =~ '^\s*\(break\|continue\|raise\|return\|pass\|bb\.fatal\)\>'
180 " See if the user has already dedented 180 " See if the user has already dedented
181 if indent(a:lnum) > indent(plnum) - shiftwidth() 181 if indent(a:lnum) > indent(plnum) - shiftwidth()
182 " If not, recommend one dedent 182 " If not, recommend one dedent