Permalink
Browse files

set mark when jumping to location in current file

The normal mode command m' was there before but got broken by commit 6f49168: m without the single quote is not a normal mode command. When changing files, the jump list is already updated.
  • Loading branch information...
1 parent 5d3b9bd commit 4b53210472b4a53819be5a9114d967eb18e0db5d @brunodefraine brunodefraine committed Jul 16, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/libclang.py
View
@@ -503,7 +503,7 @@ def jumpToLocation(filename, line, column, preview):
elif filename != vim.current.buffer.name:
command = "edit %s" % filenameEscaped
else:
- command = "normal m"
+ command = "normal m'"
try:
vim.command(command)
except:

0 comments on commit 4b53210

Please sign in to comment.