diff options
author | Christian Clason <c.clason@uni-graz.at> | 2021-11-08 00:10:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-08 00:10:44 +0100 |
commit | 8cbe100fcc9c5d34b07f417a82b745803fa3ef19 (patch) | |
tree | f859abc6bc58bc21db11d0bf9633b7f31fe48cf6 /runtime/indent/vim.vim | |
parent | 16d4af6d2f549709aa55510f5ae52238c5cadb9c (diff) | |
download | rneovim-8cbe100fcc9c5d34b07f417a82b745803fa3ef19.tar.gz rneovim-8cbe100fcc9c5d34b07f417a82b745803fa3ef19.tar.bz2 rneovim-8cbe100fcc9c5d34b07f417a82b745803fa3ef19.zip |
vim-patch:partial 113cb513f76d (#16260)
Update runtime files
https://github.com/vim/vim/commit/113cb513f76d8866cbb6dc85fa18aded753e01da
skip doc/eval.txt
skip doc/insert.txt
skip doc/user_06.txt (needs 8.2.3562)
partial skip doc/syntax.txt (needs 8.2.3562)
Diffstat (limited to 'runtime/indent/vim.vim')
-rw-r--r-- | runtime/indent/vim.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/indent/vim.vim b/runtime/indent/vim.vim index ee3d39490d..a98c75e541 100644 --- a/runtime/indent/vim.vim +++ b/runtime/indent/vim.vim @@ -1,7 +1,7 @@ " Vim indent file " Language: Vim script " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2021 Apr 18 +" Last Change: 2021 Nov 03 " Only load this indent file when no other was loaded. if exists("b:did_indent") @@ -107,7 +107,7 @@ function GetVimIndentIntern() if i >= 0 let ind += shiftwidth() if strpart(prev_text, i, 1) == '|' && has('syntax_items') - \ && synIDattr(synID(lnum, i, 1), "name") =~ '\(Comment\|String\)$' + \ && synIDattr(synID(lnum, i, 1), "name") =~ '\(Comment\|String\|PatSep\)$' let ind -= shiftwidth() endif endif |