diff options
author | Christian Clason <christian.clason@uni-due.de> | 2021-09-08 16:24:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-08 07:24:12 -0700 |
commit | 79cbbd5179d816a64989243cb1ce85b802a2896f (patch) | |
tree | 4660059fb6aff39fccf4b9621b3ab4a6a06f9fc7 /runtime/indent/python.vim | |
parent | 5e5a329ea2e1742819320636d978e03bb030986f (diff) | |
download | rneovim-79cbbd5179d816a64989243cb1ce85b802a2896f.tar.gz rneovim-79cbbd5179d816a64989243cb1ce85b802a2896f.tar.bz2 rneovim-79cbbd5179d816a64989243cb1ce85b802a2896f.zip |
vim-patch:d2ea7cf10a4d #15571
Update runtime files
https://github.com/vim/vim/commit/d2ea7cf10a4d026ebd402594d656af7d5c811c24
omit `runtime/doc/if_tcl.txt`
omit `runtime/doc/textprop.txt`
omit `runtime/tutor/*`
omit `runtime/syntax/vim.vim` (cherry-picked in https://github.com/neovim/neovim/commit/2dd7828511d04a8b7f1ac4331c719a751a5db869)
manual merge of `runtime/pack/dist/opt/termdebug/plugin/termdebug.vim`
Diffstat (limited to 'runtime/indent/python.vim')
-rw-r--r-- | runtime/indent/python.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/indent/python.vim b/runtime/indent/python.vim index f9236e63c7..307b7f656b 100644 --- a/runtime/indent/python.vim +++ b/runtime/indent/python.vim @@ -2,7 +2,7 @@ " Language: Python " Maintainer: Bram Moolenaar <Bram@vim.org> " Original Author: David Bustos <bustos@caltech.edu> -" Last Change: 2019 Feb 21 +" Last Change: 2021 May 26 " Only load this indent file when no other was loaded. if exists("b:did_indent") @@ -191,7 +191,7 @@ function GetPythonIndent(lnum) if getline(a:lnum) =~ '^\s*\(elif\|else\)\>' " Unless the previous line was a one-liner - if getline(plnumstart) =~ '^\s*\(for\|if\|try\)\>' + if getline(plnumstart) =~ '^\s*\(for\|if\|elif\|try\)\>' return plindent endif |