diff options
author | Florian Walch <florian@fwalch.com> | 2014-12-30 14:05:24 +0100 |
---|---|---|
committer | Florian Walch <florian@fwalch.com> | 2014-12-30 14:06:20 +0100 |
commit | e114529972c713d49ee50896760ea00365abe486 (patch) | |
tree | 70000a45f064d08fb8c20acefb3342ea9df73893 /runtime/indent/html.vim | |
parent | 272f1064c74c745af4ac97ca1e46015fc7a6934d (diff) | |
download | rneovim-e114529972c713d49ee50896760ea00365abe486.tar.gz rneovim-e114529972c713d49ee50896760ea00365abe486.tar.bz2 rneovim-e114529972c713d49ee50896760ea00365abe486.zip |
vim-patch:babc6a1
Runtime file updates.
https://code.google.com/p/vim/source/detail?r=babc6a1d4c270e3a8004dad9d3b3648f067bdfde
Diffstat (limited to 'runtime/indent/html.vim')
-rw-r--r-- | runtime/indent/html.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/indent/html.vim b/runtime/indent/html.vim index b5374bd68a..d64a0e5cd3 100644 --- a/runtime/indent/html.vim +++ b/runtime/indent/html.vim @@ -2,7 +2,7 @@ " Header: "{{{ " Maintainer: Bram Moolenaar " Original Author: Andy Wokula <anwoku@yahoo.de> -" Last Change: 2014 Jul 04 +" Last Change: 2014 Aug 23 " Version: 1.0 " Description: HTML indent script with cached state for faster indenting on a " range of lines. @@ -497,7 +497,7 @@ func! s:FreshState(lnum) " If previous line ended in a closing tag, line up with the opening tag. if !swendtag && text =~ '</\w\+\s*>\s*$' call cursor(state.lnum, 99999) - normal F< + normal! F< let start_lnum = HtmlIndent_FindStartTag() if start_lnum > 0 let state.baseindent = indent(start_lnum) @@ -898,7 +898,7 @@ func! HtmlIndent() " a tag works very differently. Do not do this when the line starts with " "<", it gets the "htmlTag" ID but we are not inside a tag then. if curtext !~ '^\s*<' - normal ^ + normal! ^ let stack = synstack(v:lnum, col('.')) " assumes there are no tabs let foundHtmlString = 0 for synid in reverse(stack) |