mirror of
https://github.com/ThePrimeagen/harpoon.git
synced 2025-07-14 01:50:27 +00:00
fix: removed jump_to settings def
This commit is contained in:
parent
01bce04637
commit
0db652a612
@ -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)
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user