bhagwan
8feda7fb9c
added preview scrolling for terminal buffers
3 years ago
bhagwan
6c349939b8
lsp_code_actions should ignore jump_to_single_result (closes issue #93 )
3 years ago
bhagwan
3527c8e532
added '--perl-regexp' to grep options (closest match to rg regex engine)
3 years ago
bhagwan
bdbd662468
better handling of '--ansi' flag, detect extension on filenames with space
3 years ago
bhagwan
2ae75cba96
column support for search matching, default colors for extensions
3 years ago
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.
3 years ago
bhagwan
d8b5981e92
README: added lua keymap exmaple, removed commented `_G.dump`(s)
3 years ago
bhagwan
a0f073950b
misc previewer title display improvements, grep 'no_esc' option added
3 years ago
bhagwan
93ca0a3adf
git_status preview now shows deleted and untracked files
3 years ago
ibhagwan
532cea4291
Merge pull request #90 from jdrouhard/better_git_cwd
...
Improve git commands so they always run in the git root directory
3 years ago
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.
3 years ago
jpe
f3471b411f
Fix loss of git records after checking out older commits
3 years ago
bhagwan
789e0bf310
added 'filetypes' provider
3 years ago
bhagwan
7b9fe4495e
'git_xxx' now supports 'cwd' option (closes issue #82 )
3 years ago
bhagwan
e3e6d2643b
'current_buffer_only' option to LSP providers (closes issue #80 )
3 years ago
bhagwan
6aff90f99b
improved actions for command_history|search_history (closes issue #75 )
3 years ago
bhagwan
9fb6a3059f
added 'blines' provider (closes issue #77 )
3 years ago
bhagwan
1b1de47c57
even better method for filetype detection, ty @jdrouhard!
3 years ago
bhagwan
96bbe33406
better filetype detection, closes issue #74
3 years ago
bhagwan
571ec3a8ca
closes issue #78
3 years ago
bhagwan
5472c41f20
bugfix: live_grep with underlying 'grep'
3 years ago
bhagwan
659bd79718
bugfix: grep_curbuf
3 years ago
bhagwan
fe4cfcece7
added options to override '--ansi' and '--info' (closes issue #76 )
3 years ago
bhagwan
46f186c954
adjust fzf win size when closing preview (issue #73 )
3 years ago
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.
3 years ago
bhagwan
34a2997869
bat_native config|theme to be respected
3 years ago
bhagwan
2aeb0fc36f
should close issue #70
3 years ago
bhagwan
ba77d4912d
bugfix: get_visual_selection with dirty buffers(closes issue #54 )
3 years ago
bhagwan
bbef641125
fixes issue #67
3 years ago
bhagwan
ac99206c13
added 'packadd' provider (closes issue #64 )
3 years ago
bhagwan
757d6392f0
added builtin previewer options for syntax bytes/lines limits
3 years ago
bhagwan
e6c4f31c06
git_buf_edit, set bufhidden:wipe
3 years ago
jpe
0b97ac673b
Add actions to checkout and inspect previous git commits
3 years ago
bhagwan
37a6f3b999
closes issue #62
3 years ago
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.
3 years ago
bhagwan
e89018baf9
builtin previewer: misc config options added
3 years ago
bhagwan
2315413bdd
closes issue #59
3 years ago
bhagwan
a7c093e774
set filetype in a pcall to circumvent error (issue #58 )
3 years ago
bhagwan
a2470b81e1
should close issue#58
3 years ago
bhagwan
eefed45175
added builtin previewer
3 years ago
francisco souza
233062d7e6
providers/lsp: support for a pre-defined query in workspace_symbols
3 years ago
bhagwan
82a477420d
fix `bcomments` for git version < 2.31 (issue #48 )
3 years ago
bhagwan
dee50f72d9
adjust buffers:current colors (issue #47 )
3 years ago
bhagwan
c67bf21428
buffers: remove header color, lsp_live_ws_symbols: async WIP
3 years ago
bhagwan
f51135cc3c
added `lsp_live_workspace_symbols`
3 years ago
bhagwan
7322a96b2d
tags, btags complete, misc fixes
3 years ago
bhagwan
c938022571
grep: added `filespec` option
3 years ago
bhagwan
1c25350397
added raw_cmd option to files,grep
3 years ago
bhagwan
ecdc79da2e
WIP: added `tags`, `btags` (need to fix previewer line)
3 years ago
bhagwan
cea8e27991
added `marks`
3 years ago
bhagwan
faad0474d4
added neovim builtin providers
...
commands, command_history, search_history, keymaps, registers, spell_suggest
3 years ago
bhagwan
48ce442b21
bugfix: calling files with find (instead of fd), closes issue #43
3 years ago
bhagwan
8da08ec5b3
bugfix: lsp_code_actions with more than one LSP client (issue #42 )
3 years ago
bhagwan
3c661e552e
refactor and add 'cwd_only' option to all file providers
3 years ago
bhagwan
b25e5bef33
added async|sync option to LSP functions
3 years ago
Denys Zadorozhnyi
d7b4696985
add lsp.workspace_diag_only_cwd option to filter out diagnostics entries from files outside of the current working directory ( #36 )
...
* add lsp.workspace_diag_only_cwd option to filter
out diagnostics entries from files outside of the current
working directory;
* switch to cwd_only option;
* restore original filtering in buffer_diag loop;
3 years ago
John Drouhard
57f304b270
Optimize git performance: 1) faster method to determine if in git repo; 2) bypass entirely if git icons disabled
3 years ago
bhagwan
ccc9d5f6c1
option to open in a split instead of a popup
3 years ago
bhagwan
d1fe6479c1
bugfix: lsp_workspace_symbols filename (issue #34 )
3 years ago
bhagwan
fd390cdcea
added git_status
3 years ago
bhagwan
1257eadb7c
added git commits,bcommits,branches
3 years ago
bhagwan
049298e818
added FzfLua command with auto-complete
3 years ago
bhagwan
0d05954397
previewers migrated to new async_action
3 years ago
bhagwan
1cafaba2f9
updated README, fix for issue #33
3 years ago
bhagwan
652f66d36b
bugfix: rg --color prevented git_icons from showing
3 years ago
bhagwan
a91e839cce
file providers with custom cwd bugfix
3 years ago
bhagwan
b21f5a6308
previewer fix for fish shell
3 years ago
bhagwan
ec2e870614
refactor previewers
3 years ago
bhagwan
cf583fe211
fix issue #28 , added search header for cword/visual grep
3 years ago
ibhagwan
2c9438855c
Merge pull request #27 from kdheepak/add-open-in-background
...
Added “open file in background” (as buffer) action
3 years ago
Dheepak Krishnamurthy
bd71a01711
Add open in background file buffer
3 years ago
bhagwan
9d0be97816
potential fix for issue #23
3 years ago
zeertzjq
2eaade0e23
open the correct man page section
3 years ago
bhagwan
ea38de4d7c
options refactor, slightly better startup time
3 years ago
bhagwan
2ed1a56102
potential fix for issue #23 ?
3 years ago
bhagwan
8813d5a5ea
fixed possibility of missed last result in more providers
3 years ago
bhagwan
dda1387536
fix possibility of missing last LSP result
3 years ago
bhagwan
c76d6d9b36
nvim-web-devicons lazy load bugfix
3 years ago
bhagwan
976ee88400
added initial skim (rust fzf) support
3 years ago
bhagwan
25b53481f4
builtin() accept additional options
3 years ago
bhagwan
5e49c8a8c4
added missing module.lua
3 years ago
bhagwan
eb9dec7dcd
added provider for builtin methods
3 years ago
bhagwan
52da9efe9e
LSP: added option to jump to single result
3 years ago
bhagwan
0d61b8a284
bugfix: tanbew -> tabnew typo fix
3 years ago
bhagwan
daee2543c8
optional cwd bugfix
3 years ago
bhagwan
0e472a9ee3
do not reset vim.env.FZF_DEFAULT_OPTS
3 years ago
bhagwan
08430c0325
workspace_symbols bugfix with new sumneko_lua
3 years ago
bhagwan
4ec3f7716c
LSP diagnostics verify attached client
3 years ago
bhagwan
49c1e2f1ea
added full LSP support
3 years ago
bhagwan
a1a8fd89cb
ansi colors escape sequence changed to support older lua versions
3 years ago
bhagwan
495c133254
nbsp revert, lsp_references added
3 years ago
bhagwan
fe0b3d1184
escape special chars before search so we can grep [(...)]
3 years ago
bhagwan
1de8269b56
fixed conflciting ctrl-u fzf bind
3 years ago
bhagwan
2ef5697cb0
winopts_raw slight modification
3 years ago
bhagwan
1cb4ae1b0e
added winopts_raw option for advanced window customiztaion
3 years ago
bhagwan
e6ad43e030
passthrough win_border to nvim-fzf (to enable custom border characters)
3 years ago
bhagwan
192a386087
added the option to supply extra fzf_args
3 years ago
bhagwan
565e76bdfa
fixed default when devicon returns nil
3 years ago
bhagwan
c925eb89a0
added preview_opts, fixed win_border opt, fixed crash when no devicons are installed
3 years ago
bhagwan
0d89d51240
find custom path, use expand
3 years ago