mirror of
https://github.com/ThePrimeagen/harpoon
synced 2024-09-16 13:34:03 +02:00
style: Fix formatting
This commit is contained in:
parent
41d1a0e793
commit
3f11043be4
1 changed files with 4 additions and 4 deletions
|
@ -80,12 +80,12 @@ function M.toggle_quick_menu()
|
|||
local curr_file = utils.normalize_path(vim.api.nvim_buf_get_name(0))
|
||||
vim.cmd(
|
||||
string.format(
|
||||
"autocmd Filetype harpoon " ..
|
||||
"let path = '%s' | call clearmatches() | " ..
|
||||
"autocmd Filetype harpoon "
|
||||
.. "let path = '%s' | call clearmatches() | "
|
||||
-- move the cursor to the line containing the current filename
|
||||
"call search('\\V'.path.'\\$') | " ..
|
||||
.. "call search('\\V'.path.'\\$') | "
|
||||
-- add a hl group to that line
|
||||
"call matchadd('HarpoonCurrentFile', '\\V'.path.'\\$')",
|
||||
.. "call matchadd('HarpoonCurrentFile', '\\V'.path.'\\$')",
|
||||
curr_file:gsub("\\", "\\\\")
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue