summaryrefslogtreecommitdiffstats
path: root/runtime/indent/html.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-08-23 15:31:19 +0200
committerBram Moolenaar <Bram@vim.org>2014-08-23 15:31:19 +0200
commit7b61a546d84ce50f278fcc84090b2d11dbe039eb (patch)
tree9a7d32eeb8d849c5fcec8e19ac071d1186c6db3e /runtime/indent/html.vim
parent92f4baace8af8fbc6ed610ba91268e38a4d555a2 (diff)
Runtime file updates.
Diffstat (limited to 'runtime/indent/html.vim')
-rw-r--r--runtime/indent/html.vim6
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)