bhagwan
6c349939b8
lsp_code_actions should ignore jump_to_single_result (closes issue #93 )
2021-09-04 00:43:09 -07:00
bhagwan
3527c8e532
added '--perl-regexp' to grep options (closest match to rg regex engine)
2021-09-03 19:01:18 -07:00
bhagwan
bdbd662468
better handling of '--ansi' flag, detect extension on filenames with space
2021-09-03 18:49:41 -07:00
bhagwan
2ae75cba96
column support for search matching, default colors for extensions
2021-09-03 17:35:28 -07:00
ibhagwan
b4b56e2465
Merge pull request #94 from jdrouhard/improve_previewer_winopts
...
Builtin previewer: improve mechanism for backing up/restoring winopts
2021-09-03 16:19:59 -07:00
John Drouhard
d34444e860
Builtin previewer: improve mechanism for backing up/restoring winopts
...
See :help local-options for more details, but essentially, we have to be
very careful with how we set window-local options on popup windows,
because buffers might take some window-local options from the last
window they were displayed in with them to the new window in certain
circumstances.
This commit changes the backup/restore for the window options so that
the possible window-local options that might get clobbered are saved
from the original active window and reapplied to the preview window just
before it's closed. This ensures any buffers loaded from the picker will
have the same window options applied that were in the active window when
fzf was opened.
2021-09-03 17:40:17 -05:00
bhagwan
d8b5981e92
README: added lua keymap exmaple, removed commented _G.dump
(s)
2021-09-03 13:28:50 -07:00
bhagwan
a0f073950b
misc previewer title display improvements, grep 'no_esc' option added
2021-09-03 11:31:24 -07:00
bhagwan
93ca0a3adf
git_status preview now shows deleted and untracked files
2021-09-02 16:39:12 -07:00
ibhagwan
532cea4291
Merge pull request #90 from jdrouhard/better_git_cwd
...
Improve git commands so they always run in the git root directory
2021-09-02 12:11:09 -07:00
John Drouhard
6668b04b4b
Improve git commands so they always run in the git root directory
...
This matches the behavior of both fzf.vim and telescope.nvim.
It also fixes a bug with the "git_buf_edit" action if the cwd is not in
the git root.
2021-09-02 12:35:04 -05:00
jpe
be5ba99505
update README
2021-09-01 21:39:02 -07:00
ibhagwan
656feac931
Merge pull request #87 from jpe90/main
...
Fix loss of git records after checking out older commits
2021-09-01 21:30:54 -07:00
jpe
f3471b411f
Fix loss of git records after checking out older commits
2021-09-02 00:14:33 -04:00
bhagwan
68a398bc7c
Added LICENSE (AGPL)
2021-09-01 19:53:24 -07:00
bhagwan
789e0bf310
added 'filetypes' provider
2021-09-01 19:39:01 -07:00
bhagwan
7b9fe4495e
'git_xxx' now supports 'cwd' option (closes issue #82 )
2021-09-01 15:37:11 -07:00
bhagwan
e3e6d2643b
'current_buffer_only' option to LSP providers (closes issue #80 )
2021-09-01 10:51:04 -07:00
bhagwan
6aff90f99b
improved actions for command_history|search_history (closes issue #75 )
2021-08-31 15:25:23 -07:00
bhagwan
9fb6a3059f
added 'blines' provider (closes issue #77 )
2021-08-31 15:02:35 -07:00
bhagwan
1b1de47c57
even better method for filetype detection, ty @jdrouhard!
2021-08-31 12:37:23 -07:00
bhagwan
96bbe33406
better filetype detection, closes issue #74
2021-08-31 12:11:51 -07:00
bhagwan
571ec3a8ca
closes issue #78
2021-08-31 11:21:34 -07:00
bhagwan
5472c41f20
bugfix: live_grep with underlying 'grep'
2021-08-31 10:00:44 -07:00
bhagwan
659bd79718
bugfix: grep_curbuf
2021-08-31 09:37:50 -07:00
bhagwan
fe4cfcece7
added options to override '--ansi' and '--info' (closes issue #76 )
2021-08-31 09:00:50 -07:00
bhagwan
46f186c954
adjust fzf win size when closing preview (issue #73 )
2021-08-30 17:32:23 -07:00
ibhagwan
fa6c80a8fa
Merge pull request #72 from fsouza/fix-empty-line-preview
...
Fix empty line in the builtin previewer
2021-08-30 13:11:31 -07:00
francisco souza
9dbaad9f94
Fix empty line in the builtin previewer
...
Whenever the file ends with newline, the builtin previewer was adding an
empty line at the end of the file. That's a side effect splitting and
rejoining the lines with \n. Basically, when we split a\nb\nc\n we get
{'a', 'b', 'c', ''}, then nvim_buf_set_lines treats each item in the
table as a line, and inserts an empty line at the end.
We do need to account for files that don't end with a new line though,
hence the check.
I don't have a way to test the \r\n logic locally, no Windows hosts
around, but it should work too.
2021-08-30 15:59:44 -04:00
bhagwan
34a2997869
bat_native config|theme to be respected
2021-08-30 12:52:26 -07:00
bhagwan
2aeb0fc36f
should close issue #70
2021-08-30 12:31:15 -07:00
bhagwan
ba77d4912d
bugfix: get_visual_selection with dirty buffers(closes issue #54 )
2021-08-30 11:03:27 -07:00
ibhagwan
29844d7299
Merge pull request #68 from jpe90/main
...
Update README to reference new default git actions
2021-08-30 10:18:29 -07:00
bhagwan
bbef641125
fixes issue #67
2021-08-30 10:04:53 -07:00
jpe
934051de02
Update README to reference new default git actions
2021-08-30 12:53:21 -04:00
bhagwan
ac99206c13
added 'packadd' provider (closes issue #64 )
2021-08-30 09:09:49 -07:00
bhagwan
757d6392f0
added builtin previewer options for syntax bytes/lines limits
2021-08-30 08:35:36 -07:00
bhagwan
e6c4f31c06
git_buf_edit, set bufhidden:wipe
2021-08-30 00:02:31 -07:00
jpe
0b97ac673b
Add actions to checkout and inspect previous git commits
2021-08-30 00:02:31 -07:00
bhagwan
37a6f3b999
closes issue #62
2021-08-29 23:49:31 -07:00
francisco souza
941064ed5b
Set cursorlineopt=both in the builtin previewer
...
This way, if the user has defined cursorlineopt=number elsewhere, we
override it to behave as intended.
2021-08-29 22:37:00 -07:00
bhagwan
e89018baf9
builtin previewer: misc config options added
2021-08-29 22:34:06 -07:00
bhagwan
2315413bdd
closes issue #59
2021-08-29 09:00:59 -07:00
bhagwan
a7c093e774
set filetype in a pcall to circumvent error (issue #58 )
2021-08-29 02:39:58 -07:00
bhagwan
a2470b81e1
should close issue#58
2021-08-29 02:21:06 -07:00
bhagwan
eefed45175
added builtin previewer
2021-08-29 00:45:36 -07:00
francisco souza
233062d7e6
providers/lsp: support for a pre-defined query in workspace_symbols
2021-08-24 22:23:49 -07:00
bhagwan
82a477420d
fix bcomments
for git version < 2.31 (issue #48 )
2021-08-18 19:48:28 -07:00
bhagwan
dee50f72d9
adjust buffers:current colors (issue #47 )
2021-08-17 16:39:54 -07:00
bhagwan
c67bf21428
buffers: remove header color, lsp_live_ws_symbols: async WIP
2021-08-17 10:56:07 -07:00