M README.md => README.md +1 -1
@@ 1,6 1,6 @@
# remember.nvim
-This is a Neovim version of the Vim plugin [vim-lastplace](https://github.com/farmergreg/vim-lastplace]). It uses the same logic as vim-lastplace but also as much as possible the Neovim Lua API.
+This is a Neovim version of the Vim plugin [vim-lastplace](https://github.com/farmergreg/vim-lastplace). It uses the same logic as vim-lastplace but also as much as possible the Neovim Lua API.
When opening a file the plugin will set the cursor position to the edit position instead of top of the file. It ignores commit messages and certain buffer types.
M lua/remember.lua => lua/remember.lua +10 -0
@@ 1,3 1,13 @@
+--
+-- Author: johan@pwd.re
+-- Version: 1.0.0
+--
+-- Based on https://github.com/farmergreg/vim-lastplace/
+--
+-- This work is licensed under the terms of the MIT license.
+-- For a copy, see <https://opensource.org/licenses/MIT>.
+--
+
local g = vim.g
local bo = vim.bo
local fn = vim.fn