Dear all,

I heard a report from another user that the user keymapping for "F" key is 
accidentally triggered when he is editing html file. It seems because the lack 
of "!" for normal command in runtime/indent/html.vim. Please find the attached 
file.

Best wishes,
Masaaki Nakamura

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff -r c21bd8e7346c runtime/indent/html.vim
--- a/runtime/indent/html.vim	Fri Aug 22 23:05:54 2014 +0200
+++ b/runtime/indent/html.vim	Sat Aug 23 14:36:24 2014 +0800
@@ -497,7 +497,7 @@
   " 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 @@
   " 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)

Raspunde prin e-mail lui