feat: add harpoon toggle
parent
74781e2d6d
commit
bbd51a0b85
|
@ -22,9 +22,9 @@
|
|||
"nvim-comment": { "branch": "main", "commit": "e9ac16ab056695cad6461173693069ec070d2b23" },
|
||||
"nvim-dap": { "branch": "master", "commit": "405df1dcc2e395ab5173a9c3d00e03942c023074" },
|
||||
"nvim-grey": { "branch": "main", "commit": "e5fc8cc1e0c88c23bc6c92845f19a342f561c409" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "e25c4cdecd3d58c0deccce0f372426c8c480bcce" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "b3014f2209503944f2714cf27c95591433a0c7d8" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "81eb8d519233c105f30dc0a278607e62b20502fd" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "2bad828b48aed74efe8f7e4ea15550e18c7b482d" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "5c4892b0556d1258c423e2369d6a602d9b2a4988" },
|
||||
"nvim-ts-autotag": { "branch": "main", "commit": "531f48334c422222aebc888fd36e7d109cb354cd" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "6e355632387a085f15a66ad68cf681c1d7374a04" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "8aad4396840be7fc42896e3011751b7609ca4119" },
|
||||
|
|
|
@ -20,6 +20,7 @@ local function toggle_telescope(harpoon_files)
|
|||
})
|
||||
:find()
|
||||
end
|
||||
|
||||
local function toggle_mark()
|
||||
local current_file = api.nvim_buf_get_name(0) -- Get the current buffer's file path
|
||||
local item, index = harpoon:list():get_by_value(current_file)
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# Requirements for my setup
|
||||
|
||||
- file tree x
|
||||
- lsp with mason x
|
||||
- telescope x
|
||||
|
@ -12,5 +13,5 @@
|
|||
- lua vim linting x
|
||||
- dashboard x
|
||||
- suppress vim global warnings x
|
||||
- harpoon toggle file
|
||||
- harpoon toggle file x
|
||||
- debugger
|
||||
|
|
Loading…
Reference in New Issue