diff --git a/README.md b/README.md index e687e95..e3ba809 100644 --- a/README.md +++ b/README.md @@ -159,6 +159,10 @@ There is quite a bit of behavior you can configure via `harpoon:setup()` * `VimLeavePre`: this function is called for every list on VimLeavePre. * `get_root_dir`: used for creating relative paths. defaults to `vim.loop.cwd()` +### Settings +Settings can alter the experience of harpoon + + ## ⇁ Social For questions about Harpoon, there's a #harpoon channel on [the Primeagen's Discord](https://discord.gg/theprimeagen) server. * [Discord](https://discord.gg/theprimeagen) diff --git a/lua/harpoon/config.lua b/lua/harpoon/config.lua index a761742..d556ab3 100644 --- a/lua/harpoon/config.lua +++ b/lua/harpoon/config.lua @@ -29,12 +29,10 @@ M.DEFAULT_LIST = DEFAULT_LIST ---notehunthoeunthoeunthoeunthoeunthoeunth ---@class HarpoonSettings ---@field save_on_toggle boolean defaults to true ----@field jump_to_file_location boolean defaults to true ---@field key (fun(): string) ---@class HarpoonPartialSettings ---@field save_on_toggle? boolean ----@field jump_to_file_location? boolean ---@field key? (fun(): string) ---@class HarpoonConfig @@ -58,7 +56,6 @@ function M.get_default_config() settings = { save_on_toggle = false, - jump_to_file_location = true, key = function() return vim.loop.cwd() end,