diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-01 21:09:53 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-01 22:29:03 -0400 |
commit | b1cd67b62e58c7f7d4139416e6813f8f50bc0fd6 (patch) | |
tree | e012d75f3c6853bebaa99b186209f8b9a53ea39c /runtime/indent | |
parent | 710f0eae2f5a626a0771acbb1fb32e121bbf2bde (diff) | |
download | rneovim-b1cd67b62e58c7f7d4139416e6813f8f50bc0fd6.tar.gz rneovim-b1cd67b62e58c7f7d4139416e6813f8f50bc0fd6.tar.bz2 rneovim-b1cd67b62e58c7f7d4139416e6813f8f50bc0fd6.zip |
vim-patch:4072ba571bab
Update runtime files.
https://github.com/vim/vim/commit/4072ba571babd733d1800c082416fe8fe3c28ed7
Omit vim9 references.
Omit assert_fails(). Patch v8.2.1183 is not ported yet.
Diffstat (limited to 'runtime/indent')
-rw-r--r-- | runtime/indent/html.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/indent/html.vim b/runtime/indent/html.vim index fdd743e89a..ec4fac549a 100644 --- a/runtime/indent/html.vim +++ b/runtime/indent/html.vim @@ -1,7 +1,7 @@ " Vim indent script for HTML " Maintainer: Bram Moolenaar " Original Author: Andy Wokula <anwoku@yahoo.de> -" Last Change: 2020 Jul 06 +" Last Change: 2020 Dec 11 " Version: 1.0 "{{{ " Description: HTML indent script with cached state for faster indenting on a " range of lines. @@ -815,7 +815,7 @@ func! s:Alien5() let idx = match(prevtext, '^\s*\zs<!--') if idx >= 0 " just below comment start, add a shiftwidth - return idx + shiftwidth() + return indent(prevlnum) + shiftwidth() endif " Some files add 4 spaces just below a TODO line. It's difficult to detect |