diff options
author | Christian Clason <christian.clason@uni-due.de> | 2021-10-05 14:12:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 14:12:16 +0200 |
commit | 0c2a7aa5f75502364a884eb25787d7774033f817 (patch) | |
tree | b9e0b64b0b64626e6dcab4703550aeb1c0afa88a /runtime/indent/python.vim | |
parent | 0a7a215aa6bac6e5569d47a3ad5f496d64397f8e (diff) | |
download | rneovim-0c2a7aa5f75502364a884eb25787d7774033f817.tar.gz rneovim-0c2a7aa5f75502364a884eb25787d7774033f817.tar.bz2 rneovim-0c2a7aa5f75502364a884eb25787d7774033f817.zip |
vim-patch:6e649224926b (#15911)
Update runtime files
https://github.com/vim/vim/commit/6e649224926bbc1df6a4fdfa7a96b4acb1f8bee0
Diffstat (limited to 'runtime/indent/python.vim')
-rw-r--r-- | runtime/indent/python.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/indent/python.vim b/runtime/indent/python.vim index 307b7f656b..668122993e 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: 2021 May 26 +" Last Change: 2021 Sep 26 " Only load this indent file when no other was loaded. if exists("b:did_indent") @@ -17,6 +17,8 @@ setlocal autoindent " indentexpr isn't much help otherwise setlocal indentexpr=GetPythonIndent(v:lnum) setlocal indentkeys+=<:>,=elif,=except +let b:undo_indent = "setl ai< inde< indk< lisp<" + " Only define the function once. if exists("*GetPythonIndent") finish |