summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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