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
mwishoff
9ff11a310a
Remove debug statements.
2023-12-06 08:42:17 -08:00
mwishoff
c82d3d5e3d
Added harpoon_wrap option to default config as true. Reference this option in list:prev and list:next. When true allows prev and next to wrap the harpoon list, when false it will not wrap the harpoon list.
2023-12-06 08:40:47 -08:00
mpaulson
07cca27cf1
feat: better logging for toggle
2023-12-06 07:01:07 -07:00
mwishoff
05edc3ee82
If out_data is empty then write empty json to harpoon.json. Then read it back into out_data.
2023-12-05 18:48:18 -08:00
mpaulson
d8fa264598
logger: max lines to prevent things taking too much memory
2023-12-05 19:20:38 -07:00
mpaulson
f4265232bb
small logger changes + spec
2023-12-05 19:18:06 -07:00
mpaulson
e9d18fca95
feat: logging and rename.
2023-12-05 19:02:43 -07:00
mpaulson
c24c7119a2
chore: lint and fmt
2023-12-05 07:37:22 -07:00
mpaulson
23fe6410bc
feat: #372 -- configurable fallback width and width ratio
2023-12-05 07:35:01 -07:00
mpaulson
e2e582e776
fix: navigation
2023-12-05 07:28:14 -07:00
Michael Paulson
ec03b3cc4b
fix: active list caused nil access error
2023-12-04 17:41:27 -07:00
mpaulson
dfcb8488df
fix: tests were breaking due to logging
2023-12-04 12:15:00 -07:00
mpaulson
c53305c2d0
feat: logging more details about how you moved through harpoon
2023-12-04 12:08:28 -07:00
mpaulson
68b3223268
feat: logger
2023-12-04 11:55:53 -07:00
mpaulson
b546ffebf0
feat: borders are now customizable
2023-12-04 10:48:40 -07:00
Arthur McLain
84e2eb79ed
feat: link harpoon highlights to default groups
2023-12-04 05:26:50 +01:00
mpaulson
581da797f9
chore: style
2023-12-02 16:01:22 -07:00
Rodrigo Medina
d9dc3bf875
fix: telescope integration
2023-12-02 16:19:14 -06:00
Arthur McLain
2d5e3443b7
fix: update highlight groups
2023-12-02 03:48:40 +01:00
Michael Paulson
61406ca0b4
feat: select gets list
added to its call. for #350
2023-12-01 15:54:05 -07:00
Michael Paulson
8dd3d909fd
test: select with nil
2023-12-01 15:51:50 -07:00
Michael Paulson
c131b4b61b
feat: select with nil
2023-12-01 14:47:58 -07:00
Michael Paulson
0db652a612
fix: removed jump_to settings def
2023-12-01 14:13:22 -07:00
Michael Paulson
01bce04637
chore: style
2023-12-01 14:07:55 -07:00
Michael Paulson
1e041f13b1
feat: removed some duplicate tests that are present in the ui.
2023-12-01 13:56:46 -07:00
Michael Paulson
689778b3aa
chore: style and lint
2023-12-01 13:45:22 -07:00
Michael Paulson
23fb0002cf
fix: broken unit tests
2023-12-01 13:44:59 -07:00
Michael Paulson
a539f664fd
fix: save_on_toggle
2023-12-01 13:18:28 -07:00
Zach Lankton
4bb6637130
add self.config default item in remove function
2023-12-01 01:31:23 -05:00
mpaulson
b8d690f098
chore: formatting and lint
2023-11-30 20:43:29 -07:00
mpaulson
7a356bfb12
feat: more extensive read me and add
now comes with config
ref
2023-11-30 20:42:31 -07:00
mpaulson
588ede1253
chore: lint
2023-11-30 20:14:45 -07:00
mpaulson
574a642204
chore: style
2023-11-30 20:14:10 -07:00
mpaulson
047cd66d6f
fix: addresses #346 and #345
2023-11-30 20:12:04 -07:00