fix: removed jump_to settings def

This commit is contained in:
Michael Paulson 2023-12-01 14:13:22 -07:00
parent 01bce04637
commit 0db652a612
2 changed files with 4 additions and 3 deletions

View File

@ -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. * `VimLeavePre`: this function is called for every list on VimLeavePre.
* `get_root_dir`: used for creating relative paths. defaults to `vim.loop.cwd()` * `get_root_dir`: used for creating relative paths. defaults to `vim.loop.cwd()`
### Settings
Settings can alter the experience of harpoon
## ⇁ Social ## ⇁ Social
For questions about Harpoon, there's a #harpoon channel on [the Primeagen's Discord](https://discord.gg/theprimeagen) server. For questions about Harpoon, there's a #harpoon channel on [the Primeagen's Discord](https://discord.gg/theprimeagen) server.
* [Discord](https://discord.gg/theprimeagen) * [Discord](https://discord.gg/theprimeagen)

View File

@ -29,12 +29,10 @@ M.DEFAULT_LIST = DEFAULT_LIST
---notehunthoeunthoeunthoeunthoeunthoeunth ---notehunthoeunthoeunthoeunthoeunthoeunth
---@class HarpoonSettings ---@class HarpoonSettings
---@field save_on_toggle boolean defaults to true ---@field save_on_toggle boolean defaults to true
---@field jump_to_file_location boolean defaults to true
---@field key (fun(): string) ---@field key (fun(): string)
---@class HarpoonPartialSettings ---@class HarpoonPartialSettings
---@field save_on_toggle? boolean ---@field save_on_toggle? boolean
---@field jump_to_file_location? boolean
---@field key? (fun(): string) ---@field key? (fun(): string)
---@class HarpoonConfig ---@class HarpoonConfig
@ -58,7 +56,6 @@ function M.get_default_config()
settings = { settings = {
save_on_toggle = false, save_on_toggle = false,
jump_to_file_location = true,
key = function() key = function()
return vim.loop.cwd() return vim.loop.cwd()
end, end,