Commit graph

309 commits

Author SHA1 Message Date
ThePrimeagen
d8610fdc12
Merge pull request #92 from trewjames/terminal
feat(term): add clear all functionality for terms
2021-08-09 10:21:55 -06:00
ThePrimeagen
df1d9e5a3a
Merge pull request #93 from jesseleite/save-on-change-in-menu
Hook up `save_on_change` option to menu buffer
2021-08-09 10:21:45 -06:00
Jesse Leite
a1ce601f66 Hook up save_on_change option to menu buffer. 2021-08-05 23:13:27 -04:00
James Trew
37aa813a67 delete term buffers on clear_all 2021-08-05 09:17:53 -04:00
James Trew
595bbaba29 feat(term): add clear all functionality for terms 2021-08-04 11:04:14 -04:00
ThePrimeagen
1c98945c68
Merge pull request #90 from anott03/fnToAPI
moving from vim.fn to vim.api where possible
2021-07-08 16:30:34 -06:00
anott03
750ac2d9d5 stying via stylua 2021-06-17 14:44:03 -04:00
anott03
1384fabdd5 reverting qflist change 2021-06-17 08:10:19 -07:00
anott03
a0f33c9a37 moving from vim.fn to vim.api where possible
vim.fn functions are vimsciprt, while vim.api functions are lua, so api
functions tend to perform better
2021-06-17 07:36:53 -07:00
ThePrimeagen
65d1b43428
Merge pull request #86 from jonathf/master
custom terminal creation command
2021-06-10 10:26:44 -06:00
Jonathan Feinberg
c3f6755344
fixed formatting 2021-06-04 20:20:05 +02:00
ThePrimeagen
12f7c65913
Merge pull request #87 from rudotriton/buf-scoped-status
Allow statusline marks to differ between windows
2021-06-03 11:27:22 -06:00
Jonathan Feinberg
f1a61debf2
double idx as number and table 2021-05-27 13:37:44 +02:00
Jonathan Feinberg
6dfcc07aa3
custom terminal creation command 2021-05-27 13:18:38 +02:00
Raigo Jerva
843d97f71f
Allow statusline marks to differ between buffers
- vim.fn.bufname() is identical to vim.fn.bufname(vim.fn.bufnr())
2021-05-24 17:11:42 +03:00
ThePrimeagen
55d5d808d6
Merge pull request #84 from DanMargera/installation-instructions
Add requirements missing in installation instructions
2021-05-23 09:56:32 -06:00
DanMargera
22e74ec978 neovim version requirement subheader 2021-05-23 10:46:52 -03:00
DanMargera
4f4b8e67e2 Add requirements to installation instructions 2021-05-21 08:42:30 -03:00
ThePrimeagen
beb361aaf2
Merge pull request #81 from rudotriton/fix-indexing-nils
prevent indexing nil vals in ensure_correct_config
2021-05-12 11:25:44 -06:00
Raigo Jerva
ad6a51d081
revert get_length log changes 2021-05-12 20:08:47 +03:00
ThePrimeagen
f34f3b49f3
Merge pull request #80 from Ind1eMonk3y/master
fix(ui): Sets buffer as 'listed' when navigating
2021-05-12 09:31:02 -06:00
Raigo Jerva
f139d79a75
prevent indexing nil vals in ensure_correct_config 2021-05-12 11:51:13 +03:00
Ind1eMonk3y
cf6cb9bf05 fix(ui): Sets buffer as 'listed' when navigating
According to the documentation for `vim.fn.bufnr` (`:h bufnr`), the
created buffer will have the option 'unlisted' by default.

This means that when navigating to a file, if that file wasn't
previously open, the new buffer won't appear in buffers list.

This fix set the buffer to be 'listed' when navigating.
2021-05-12 00:46:29 +02:00
ThePrimeagen
fae9f7d14b
Merge pull request #78 from ThePrimeagen/nav-fix
fix(ui): Navigation with enter on menu
2021-05-11 10:55:03 -06:00
ThePrimeagen
2374c696d3 chore(lint): ... so much of it 2021-05-11 10:50:53 -06:00
ThePrimeagen
1605603235 Merge branch 'master' of github.com:ThePrimeagen/harpoon 2021-05-11 10:31:44 -06:00
ThePrimeagen
2d37262466
Merge pull request #75 from rudotriton/gh-actions
GH actions
2021-05-11 10:28:18 -06:00
ThePrimeagen
0572fa81d3 fix(ui): Navigation with enter on menu 2021-05-11 10:11:46 -06:00
Raigo Jerva
9a2486de43
Merge branch 'master' into gh-actions 2021-05-11 00:35:41 +03:00
Raigo Jerva
979d39ba25
create github actions
- add linter workflow
- fix linter errors
- finish incomplete function in term.lua
- add formatter workflow
2021-05-11 00:34:25 +03:00
ThePrimeagen
a96cafc56d
Merge pull request #70 from asbjornhaland/navigate_on_enter
feat(ui): navigate to mark on enter
2021-05-10 11:05:15 -06:00
Asbjørn Håland
09440052d7 feat(ui): navigate to mark on enter 2021-05-10 17:18:37 +02:00
ThePrimeagen
634e65dcab
Merge pull request #69 from ThePrimeagen/enhance-logging
feat(logging): Enhanced the logging
2021-05-06 13:31:56 -06:00
ThePrimeagen
6e56ab4150 feat(logging): Enhanced the logging
Made a key appear on all the logs so its easy to read each sessions data
instead of one big ass-file
2021-05-06 13:22:56 -06:00
ThePrimeagen
c2b7ef3d37
Merge pull request #66 from rudotriton/formatting
formatting with stylua
2021-05-05 14:05:11 -06:00
Raigo Jerva
375ce5a311
formatting with stylua 2021-05-04 11:01:39 +03:00
ThePrimeagen
6b254947fd
Merge pull request #65 from rudotriton/logging-and-various
Add logging
2021-05-03 12:55:33 -06:00
Raigo Jerva
140d1ca109
adjust log levels
- set every function call to trace, logs in between as bebug
2021-05-03 21:45:24 +03:00
Raigo Jerva
1d65f6a888
address various comments 2021-05-03 21:23:07 +03:00
Raigo Jerva
a6e8a63520
update
- update readme
- revert nonfunctional changes in term.lua
- promote log level for next and previous commands
- make env var more important than vim.g
2021-05-02 10:52:00 +03:00
Raigo Jerva
c245041e21
revert nonfunctional changes 2021-05-02 10:04:00 +03:00
Raigo Jerva
d8e2fcedf3
remove duplicate trace for expand_dir() 2021-05-01 20:01:39 +03:00
Raigo Jerva
e06d8f1aea
adjust log levels
- promote direct interactions to info
- demote local functions to trace
2021-04-29 21:10:21 +03:00
Raigo Jerva
51b7239577
Logging for term commands, fix unknown argument
vim.api.nvim_buf_set_option(buf_id, "bufhidden", "hide") happened to
work, even though the first argument did not exist, since by default it
would set the option on the current buffer which it happens to be.
2021-04-29 00:15:01 +03:00
Raigo Jerva
350c7feea4
update logging for init and mark 2021-04-29 00:02:09 +03:00
Raigo Jerva
0b61951167
Merge remote-tracking branch 'upstream/master' into logging-and-various 2021-04-28 12:44:16 +03:00
Raigo Jerva
02f4e77111
Add further logging, fix callbacks
The callbacks are in a nested table, so they weren't actually called. If
there aren't more events then callbacks for "changed" don't need to be
nested in the callbacks table. Alternatively emitChanged() could take an
event name: emit("changed") and run callbacks for a specific event or
take a table of events and run for all, emit({"changed", "navigate"}).
2021-04-28 12:07:32 +03:00
ThePrimeagen
c2500292d3
Merge pull request #64 from Ind1eMonk3y/master
Enhance cursor offset saving/restoring
2021-04-27 12:14:13 -06:00
Raigo Jerva
8a4c443145
Add logging 2021-04-27 20:40:47 +03:00
Ind1eMonk3y
4a83cc866d Enhance cursor offset saving/restoring 2021-04-27 04:11:51 +02:00