aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/tag.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-14 11:22:42 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-15 01:27:30 -0400
commit1daf2cb0eaa21a88656332eec4a2dbf8b824c634 (patch)
tree2bf2c8918eef58b83d5b368b6140cbc74b4fa63d /src/nvim/tag.c
parent5e38ff105c20bc3920e840046f6af651c99f186c (diff)
downloadrneovim-1daf2cb0eaa21a88656332eec4a2dbf8b824c634.tar.gz
rneovim-1daf2cb0eaa21a88656332eec4a2dbf8b824c634.tar.bz2
rneovim-1daf2cb0eaa21a88656332eec4a2dbf8b824c634.zip
vim-patch:8.0.1488: emacs tags no longer work
Problem: Emacs tags no longer work. (zdohnal) Solution: Do not skip over end of line. https://github.com/vim/vim/commit/0d2073773218736e368786f0db7024bd9b9e7912
Diffstat (limited to 'src/nvim/tag.c')
-rw-r--r--src/nvim/tag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/tag.c b/src/nvim/tag.c
index 02dc36b57a..3b87fcb878 100644
--- a/src/nvim/tag.c
+++ b/src/nvim/tag.c
@@ -2223,7 +2223,7 @@ static size_t matching_line_len(const char_u *const lbuf)
const char_u *p = lbuf + 1;
// does the same thing as parse_match()
- p += STRLEN(p) + 2;
+ p += STRLEN(p) + 1;
return (p - lbuf) + STRLEN(p);
}