diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-10-23 10:11:59 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-10-23 10:11:59 -0400 |
commit | de4cb766ca381c09fd3f938136c1932ebf008f63 (patch) | |
tree | 70aac7d6e7abc1d0cfc0e7635c6a95dbfbe48237 /test | |
parent | e38cbb93670272d0da15c60222a123b88ec55002 (diff) | |
parent | fc2bb200f75ab9650c1c35463bcc2be9008632c9 (diff) | |
download | rneovim-de4cb766ca381c09fd3f938136c1932ebf008f63.tar.gz rneovim-de4cb766ca381c09fd3f938136c1932ebf008f63.tar.bz2 rneovim-de4cb766ca381c09fd3f938136c1932ebf008f63.zip |
Merge pull request #3490 from ZyX-I/fix-3472
Fix local marks saving/restoring with ShaDa
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/shada/marks_spec.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/functional/shada/marks_spec.lua b/test/functional/shada/marks_spec.lua index b03af39662..f03b330fb5 100644 --- a/test/functional/shada/marks_spec.lua +++ b/test/functional/shada/marks_spec.lua @@ -90,6 +90,16 @@ describe('ShaDa support code', function() eq(2, nvim_current_line()) end) + it('is able to dump and read back mark "', function() + nvim_command('edit ' .. testfilename) + nvim_command('2') + nvim_command('qall') + reset() + nvim_command('edit ' .. testfilename) + nvim_command('normal! `"') + eq(2, nvim_current_line()) + end) + it('is able to populate v:oldfiles', function() nvim_command('edit ' .. testfilename) local tf_full = curbufmeths.get_name() |