ThePrimeagen
3d35250de8
Merge pull request #541 from abeldekat/harpoon2
...
fix: The name is ....... sometimes too broad for a buffer
2024-04-03 16:04:46 -06:00
ThePrimeagen
02ccb7b92b
Merge pull request #547 from Makaze/patch-1
...
Fix error on item select: Missing length argument (Resolves #546 )
2024-04-03 16:02:10 -06:00
theprimeagen
886ebae02d
feat: move everything into the harpoon directory
2024-04-03 15:59:11 -06:00
theprimeagen
527686e06d
fix: emergency fix
2024-04-03 15:39:53 -06:00
theprimeagen
3e32576076
feat: hashing on a per config.settings.key() basis
2024-04-03 15:34:59 -06:00
Christopher Lane
e76cb03c42
Fix error on item select: Missing length argument
...
Addresses the following error resulting from not passing `length` param on line 170:
```
E5108: Error executing lua: ...kaze/.local/share/nvim/lazy/harpoon/lua/harpoon/list.lua:242: 'for' limit must be a number
stack traceback:
...kaze/.local/share/nvim/lazy/harpoon/lua/harpoon/list.lua:242: in function 'resolve_displayed'
...makaze/.local/share/nvim/lazy/harpoon/lua/harpoon/ui.lua:170: in function 'select_menu_item'
...ze/.local/share/nvim/lazy/harpoon/lua/harpoon/buffer.lua:21: in function 'run_select_command'
...ze/.local/share/nvim/lazy/harpoon/lua/harpoon/buffer.lua:61: in function <...ze/.local/share/nvim/lazy/harpoon/lua/harpoon/buffer.lua:60>
```
2024-04-02 21:03:14 -04:00
theprimeagen
4ad05be8fe
feat: replace_at with harpoon lists
2024-04-02 15:05:27 -06:00
abeldekat
c6446e971f
harpoon select: ask for the bufnr using the exact name
2024-03-24 11:26:29 +01:00
ThePrimeagen
3f51d3284e
Merge pull request #463 from maxrzaw/add-more-toggle-options
...
feat: add title and ui_max_width toggle options
2024-01-05 15:33:27 -07:00
ThePrimeagen
3bfbd73337
Merge pull request #453 from NStefan002/harpoon2
...
more ui tests
2024-01-05 15:23:40 -07:00
ThePrimeagen
9411ce15d3
Merge pull request #451 from otavioschwanck/feat/navigate-with-numbers
...
feat: navigate_with_numbers
2024-01-05 15:22:00 -07:00
Will Hopkins
7d1aef462a
feat: add LIST_READ
event
2024-01-01 22:36:35 -08:00
Max Zawisa
cc409f2f2b
feat: add title and ui_max_width toggle options
...
Add options for a custom title and max width for the UI.
Keep the same default behavior as before.
2023-12-30 21:00:43 -05:00
Rosen Stoyanov
aaff5f01e0
feat: Add current_file to UI_CREATE
2023-12-28 17:14:21 +02:00
Rosen Stoyanov
8124e73eed
refactor: Call UI_CREATE after setting buffer contents
2023-12-28 17:14:21 +02:00
Otávio Schwanck dos Santos
39a758ec88
feat: navigate_with_numbers
2023-12-28 00:10:30 +00:00
NStefan002
18bf9fbab6
test: ui tests, addition to #448 , #374
2023-12-27 15:10:20 +01:00
NStefan002
e9db6eeb6e
test: add nvim_feedkeys test
2023-12-26 19:52:24 +01:00
ThePrimeagen
11b6751d54
Merge pull request #446 from ThePrimeagen/command_on_nav
...
feat: extensions for navigating to harpooned files
2023-12-26 11:46:08 -07:00
mpaulson
8a35d8c762
chore: format
2023-12-26 11:37:25 -07:00
mpaulson
6f6b1d1d1f
feat: extensions for navigating to harpooned files
2023-12-26 11:36:07 -07:00
Hugh Carroll
2036830e37
Remove extra blank line.
2023-12-17 07:20:38 +00:00
Hugh Carroll
747169f07a
Add tabedit to split and vsplit plus a little refactor.
2023-12-17 07:02:51 +00:00
name_snrl
023e6c8baf
fix: in UI:select_menu_item close the menu first
2023-12-17 06:35:29 +00:00
ThePrimeagen
362cdc869f
Merge pull request #419 from ktsujister/window-related-settings
...
feat(ui): accept title_pos option if specified
2023-12-14 20:37:08 -07:00
mpaulson
2b7cade25a
chore: lint
2023-12-14 20:23:23 -07:00
mpaulson
1f36517870
fix : #410 addresses the pr, which is requesting a feature
2023-12-14 20:23:23 -07:00
mpaulson
9e869aae22
feat: harpoon extensions
2023-12-14 20:23:23 -07:00
Kei Tsuji
c327a70ab4
added title_pos field to HarpoonToggleOptions
2023-12-14 13:04:58 +09:00
Kei Tsuji
938c85d438
accept title_pos option if specified
2023-12-14 13:04:18 +09:00
Will Hopkins
fba563ab50
fix: check list.config.encode, default save_on_toggle to false
2023-12-11 19:43:23 -08:00
mpaulson
bb806acff3
chore: fmt
2023-12-10 19:41:58 -07:00
mpaulson
34d2e6be9a
feat: makefile + acwrite.
2023-12-10 19:41:48 -07:00
mpaulson
fa73cd0c33
feat: lua opts for border
2023-12-10 19:41:21 -07:00
Will Hopkins
8b30c9cdcc
refactor: remove uses of deprecated buf_set_option
2023-12-10 16:53:45 -08:00
mpaulson
e89299bc1a
feat: moving things around so that i can start emit out more data
2023-12-10 16:02:39 -07:00
mpaulson
d043904d1e
chore: lint
2023-12-10 12:51:03 -07:00
mpaulson
5a3195e7bf
fix: some basic fixes for buffer type
2023-12-10 12:49:40 -07:00
ThePrimeagen
a31438258a
Merge pull request #387 from mwishoff/harpoon2
...
Add feature to disable/enable wrapping on next/prev when cycling through harpoon lists.
2023-12-09 20:04:54 -07:00
mwishoff
038bde660c
Renamed harpoon_wrap to ui_nav_wrap.
2023-12-09 15:14:05 -08:00
ThePrimeagen
0243fdc13f
Merge pull request #395 from willothy/event-moved
...
feat: introduce move event
2023-12-09 13:46:02 -07:00
Will Hopkins
ac9b93984f
feat: add sync_on_ui_close
option
2023-12-09 12:16:48 -08:00
Will Hopkins
90dc9599e3
feat: introduce reorder event
2023-12-09 03:53:21 -08:00
Will Hopkins
61742f45c8
fix: only dispatch remove evt if an item is actually removed
...
by removeAt
2023-12-09 00:16:58 -08:00
Will Hopkins
3d469c19ca
fix: check displayed list for removed values
...
fix: properly pass list item tables to events in `resolve_displayed`
2023-12-09 00:07:12 -08:00
Will Hopkins
ad621a6656
refactor: move call to sync
into resolve_displayed
2023-12-08 13:11:09 -08:00
Will Hopkins
10c79d8f4f
fix(data): mark list as seen if found in Harpoon:list()
2023-12-08 13:06:56 -08:00
Will Hopkins
515bdd0058
fix(ui): comprehensive UI fixes
...
- fix: sync on UI save (#377 )
- fix: ensure buf is loaded on select (#383 )
- fix: remove angle brackets from Escape mapping rhs (#379 , #385 )
- fix: incorrect function call in run_toggle_command (#379 )
- refactor: use buf-local autocmds
- refactor: use Lua API to create BufModifiedSet autocmd
fixes #383 , #385 , #379 , #377 , #358
2023-12-07 14:39:43 -08:00
mpaulson
70703d6ce1
fix: harpoon:setup and harpoon.setup now work
2023-12-07 10:34:21 -07:00
mwishoff
4bd2c4c792
Fixing linting and formatting checks.
2023-12-06 16:23:40 -08:00