bhagwan
970a920385
internal: expose vim.ui.select on_choice to opts
2 years ago
bhagwan
f02c320a84
bugfix: vim.ui.select code_actions on multiple files ( closes #319 )
2 years ago
bhagwan
f504b9b09a
internal: send opts with 'code_actions.act'
2 years ago
leiserfg
bfd1e3471a
Set default prompt for ui_select to match the official doc
2 years ago
bhagwan
f2ebd3b9c3
added 'vim.ui.select' action help string
2 years ago
bhagwan
8e37ef6e21
added resume support for 'vim.ui.select'
2 years ago
bhagwan
5b5270684f
exit visual mode before 'vim.ui.select' interface
2 years ago
bhagwan
28757aa248
extra safety check for 'vim.ui.select' on_choice
2 years ago
bhagwan
f466e20196
added custom options to 'register_ui_select'
2 years ago
bhagwan
475ffb2673
added provider for 'vim.ui.select' ( closes #314 )
2 years ago
bhagwan
7e7f6d8cc3
add offset_encoding to code_action apply_workspace_edit ( #314 )
2 years ago
bhagwan
c096cd1849
grep_project: exclude filename from fuzzy search by default
2 years ago
bhagwan
243ec9d9f3
chore: remove all LSP warnings
2 years ago
bhagwan
4f8751db52
LSP prompt renamed to 'prompt_postfix' ( closes #308 )
2 years ago
bhagwan
95b63ef731
'jump_to_single_result_action' removed extra item in array
2 years ago
bhagwan
0637c1b686
add offset_encoding to LSP location APIs ( closes #306 )
2 years ago
bhagwan
da2c0fe3df
bugfix: 'lines|blines' default action in term buffers
2 years ago
bhagwan
1c28cbc904
'lines|blines' nightly fix, cwd header added to 'oldfiles'
2 years ago
bhagwan
58e159c36e
internal: only replace {argv} when requested by live_grep
2 years ago
bhagwan
8ad6e92b9f
bugfix: live_grep on NixOS, adjust for extra neovim cli args ( #291 )
2 years ago
bhagwan
79371f0d9f
bugfix: "No diagnostics found" with neovim 0.6.1 ( closes #292 )
2 years ago
bhagwan
41b657e823
LSP diagnostics update for deprecations in neovim 0.6.1
2 years ago
bhagwan
f0927af072
internal: added 'win.save_query', rename internal selection callback
2 years ago
bhagwan
21f19cac1a
new option 'global_resume_query': split resume from typed query ( #271 )
2 years ago
bhagwan
b2aee6f1d3
'git_status' preview rework, stage|unstage with <left>|<right> ( #239 )
3 years ago
bhagwan
d15b90e8c3
tabs: 'ctrl-x': enable multi-delete and resume
3 years ago
bhagwan
bc3edb68cf
resume adjustments for buffers|tabs, 'ctrl-x' bwipe now resumes
3 years ago
bhagwan
e1674cd8f5
README update: 'no_global_resume' option clarfication
3 years ago
bhagwan
a6213f05e1
builtin: default exclude from 'resume' ( #267 )
3 years ago
bhagwan
0069dc4a8e
resume adjustments for 'live_grep_glob|native'
3 years ago
bhagwan
db3e71200d
added 'changes' as a subset of 'jumps' ( #264 )
3 years ago
bhagwan
1ece1ab09a
added 'resume': will resume **any** list, custom or builtin ( #241 )
3 years ago
bhagwan
d874e7705a
added 'jumps', closes #264
3 years ago
bhagwan
3147d9b170
grep|live_grep: display informative messages on regex parse errors
3 years ago
bhagwan
62d279d74b
live_grep_resume: defaulted to multiprocess, better DEBUG message
3 years ago
bhagwan
31a678e4de
tags, btags: hide line numbers with builtin previewer
3 years ago
bhagwan
37ea63c26b
grep|live_grep: added support for multiprocess search resume
3 years ago
bhagwan
887d6a4cd3
live_grep: multiprocess as default provider, added glob support
3 years ago
bhagwan
429f9572e0
live_grep_native: added multiprocess and icons support
3 years ago
bhagwan
828aceb3a3
internal: move git diff retrieval to make_entry.preprocess
3 years ago
bhagwan
2d8a4e9afc
major performance improvement: process entries externally, READ BELOW:
...
Since LUA is single threaded I reached a limit to performance
optimization, both 'git_icons' and 'file_icons' require string
matching and manipulations which eventually hurt performance
when running on large amount of files.
In order to solve that this commit introduces the option to spawn
commands and process the entries in a separate neovim process which
prints to stdio as if it was a regular shell command. This speeds up
things significantly and also makes the UI super responsive as if fzf
was run in the shell. This required a few lua hacks to be able to load
nvim-web-devicons in a '--headless --clean' instance and sharing the
user configuration through the RPC interface from the running instance.
This is enabled by default for 'files' and 'grep' providers and can also
be enabled for 'git.files' if required, control using the 'multiprocess'
option.
3 years ago
bhagwan
72fe3222d3
keymaps: properly display <Space> (closes issue #246 )
3 years ago
bhagwan
46c9e2bcd2
tags: optimized performance with the builtin previewer ( #245 )
3 years ago
bhagwan
05e22a4a61
performance optimizations, read below:
...
- do not spawn cmd with libuv unless 'file_icons' or 'git_icons' are set
- 'path.starts_with_separator' minor regex optimization
- 'files' cmd fallback order is now fd, **rg** and then find
- 'strip_cwd_prefix' enabled again (default: 'true')
- 'cwd' header line added to 'files' and 'git' providers
3 years ago
bhagwan
58031b63d9
internal: default option condition optimization
3 years ago
bhagwan
2d6967be4b
LSP: properly set 'async = true' default for symbols
3 years ago
bhagwan
419a57a78f
LSP: set 'async = false' on all but workspace/document symbols
3 years ago
bhagwan
ae40b13517
bugfix: embarassing regex error ( closes #231 )
3 years ago
bhagwan
7b0e658db5
grep: remove '--column' flag when search string is empty
3 years ago
bhagwan
1d6ea8d381
lines|blines|grep_curbuf|lgrep_curbuf: hide filename by default
...
fix help buffer syntax highlighting in blines|buffer preview
3 years ago
bhagwan
a5e1be796d
added '--tiebreak=index' to 'lines', 'blines' ( #228 )
3 years ago
bhagwan
ac342fcb3b
'grep_curbuf' is now consistent with 'grep_' cmds, added 'lgrep_curbuf'
3 years ago
bhagwan
92e21423a1
lsp_code_actions: acquire client only if needed to resolve action
3 years ago
bhagwan
100f62dee1
lsp_code_actions: resolve action for jdtls (ty Telescope!)
3 years ago
bhagwan
a677abe6fb
blines/lines: export 'no_term_buffers' option
3 years ago
bhagwan
fad1ef47e3
further shell perf improvements for git and tags
3 years ago
bhagwan
63ed48baf9
added option to show unlisted buffers ( closes #220 )
3 years ago
bhagwan
2f97f24c16
tags: adjust regex crlf pattern ( #219 )
3 years ago
bhagwan
a45ea4dec5
bugfix: tags with similar prefixes, 'ff=dos' newline ( closes #219 )
3 years ago
bhagwan
956a092e55
internal: removed unnecessary 'require'
3 years ago
bhagwan
fa006b8d9f
jdtls LSP code actions zero version field fix
3 years ago
bhagwan
b462ba2cc6
added 'grep_project' command (shortcut to 'grep' with empty query)
3 years ago
bhagwan
056ee93169
globally apply fix from #197 (table ref copy overrides globals)
3 years ago
bhagwan
ac0862cfb1
internal: libuv spawn, limit uv.write chunks to 65K
3 years ago
bhagwan
e02451600a
'live_grep' freezes on large text files ( #211 )
3 years ago
bhagwan
471d853a9e
LSP: fixed error message on LSP client failure
3 years ago
bhagwan
936c10dc71
async LSP: support multiple LSP clients attached to the same file
3 years ago
bhagwan
07010f74c6
sort 'buffers' by 'lastused' ( closes #208 )
...
also changes buffers preview to read lines from the buffer instead
of attaching the exisiting buffer to the preview window, the former
turned out to changed the 'lastused' field of the buffer which was
undesireable for buffer sorting.
3 years ago
bhagwan
b3add55b46
fix tags for files with 'fileformat=dos' ( closes #207 )
3 years ago
bhagwan
c45c06218f
bugfix: ctags with tab characters ( closes #206 )
3 years ago
bhagwan
4b59a5d31d
POSIX find warn when using '-printf' flag ( #110 )
3 years ago
bhagwan
d5a73bbaf7
git_status: deal with spaces in `git status -s` output ( closes #200 )
3 years ago
bhagwan
44abade325
clone code action options to prevent default act override (issue #197 )
3 years ago
bhagwan
1174b1259a
added option to inidicate current buffer (helps issue #196 )
3 years ago
bhagwan
e4b7041957
internal: raw_fzf perf improvements
3 years ago
bhagwan
a49e26c2f0
git checkout instead of switch when git < 2.23 (closes issue #190 )
3 years ago
bhagwan
f947669dec
internal: libuv helpers, perf enhancements
3 years ago
bhagwan
30f50017bf
internal: renamed 'cb_pid' -> 'pid_cb'
3 years ago
bhagwan
69b70ec2ec
terminate initial command when fzf is closed (issue #187 )
3 years ago
bhagwan
3d1b8d0c06
better 'man_pages' preview (no hacky win, issue #175 )
3 years ago
bhagwan
544d5eabc8
new preview scrollbar option and highlights, win|preview options rework
3 years ago
bhagwan
e9c70a8d9f
bugfix: code action not applied properly (closes issue #179 )
3 years ago
bhagwan
7025700c66
properly detect LSP client after LSP restart (closes issue #174 )
3 years ago
bhagwan
b9c03225a7
added 'live_grep_glob' for dynamic rg filtering with '--glob|iglob'
3 years ago
bhagwan
3b24fe4f39
added cmd_fn option for 'grep' providers (to enable '--iglob' support)
3 years ago
bhagwan
a499bd78a4
added experimental icon support for 'live_grep' (+resume) (issue #168 )
...
Warning: this may cause a performance degradation so you have to
manually enable this by setting `grep.experimental = true` or directly
via `:lua require'fzf-lua'.live_grep({ experimental = true })`
3 years ago
bhagwan
cc74396e8f
added 'args' provider
3 years ago
bhagwan
67163f4c5f
better handling of 'cwd' in 'live_rg' (should solve issue #166 )
3 years ago
bhagwan
9a24d8e466
lines with 'set nohidden' to show unloaded buffers (closes issue #159 )
3 years ago
bhagwan
940415f836
tabs fixed, added descriptive error message for bad fzf flags
3 years ago
bhagwan
59d8f6eed5
add cursor location to jumplist (closes issue #147 )
3 years ago
bhagwan
a11f5eb9d4
rework fzf flags, close issue #149
3 years ago
bhagwan
1a2e198f1b
added 'search' option for lines|blines (closes issue #146 )
3 years ago
bhagwan
5ba790c392
blines working again
3 years ago
bhagwan
7e946aa515
get the corrent lnum for multiple tabbed buffers
3 years ago
bhagwan
b30ce12b77
'tabs' improvements
3 years ago
bhagwan
c4a829e83e
added 'buffers'
3 years ago
bhagwan
f3f373beaf
better cwd param handling for files|files_resume
3 years ago
bhagwan
6708e58caf
minor internal function rename
3 years ago
bhagwan
c876f8315a
lsp_live_workspace_symbols rework, better API for live commands
3 years ago
bhagwan
7acb6826c1
ability to disable previewer for lines|blines
3 years ago
bhagwan
7c74fd8d80
marks invalid clipboard data fix
3 years ago
bhagwan
1d3f8124bb
live_grep remove search term from header
3 years ago
ibhagwan
c7f0200013
Merge pull request #125 from camilledejoye/improvement/lsp-provider-use-actions
...
LSP: 'jump_to_single_result' custom user action (closes issue #124 )
3 years ago
bhagwan
1991beb6e8
live_grep defaults to 'continue_last_search', help|man preview mods
3 years ago
Camille Dejoye
d500f86773
improvement: lsp provider uses actions
3 years ago
bhagwan
df3804ed55
builtin previewer rework, added previewers for help_tags, man_pages
3 years ago
ibhagwan
71e105e081
Merge pull request #117 from jdrouhard/performance_improvements
...
More performance improvements
3 years ago
bhagwan
57ce1bff55
live_grep resume search is working again
3 years ago
bhagwan
0d24020629
live_grep escape hyphen, minor modification for 'sk'
3 years ago
bhagwan
9785cafd9a
live_grep default changed to native (no resume) temporarily
3 years ago
John Drouhard
a846889c7e
More performance improvements for hot-path functions tail() and extension(); improve get_devicon() to be case-insensitive for extension
3 years ago
bhagwan
eb19fb51ac
added cwd to search headers, added headers to live_grep
3 years ago
bhagwan
eaf465f9e9
grep, live_grep cwd relative path display
3 years ago
bhagwan
28f0adcfa3
grep: enable empty string search
3 years ago
bhagwan
2afab38370
sk live_grep single quote search fix
3 years ago
bhagwan
67b727bd8e
better grep,live_grep search query continuation
3 years ago
bhagwan
befdb5db85
files_resume flicker fix (within issue #103 )
3 years ago
bhagwan
2de83f800e
added icons to lines|blines
3 years ago
John Drouhard
d04dc95a94
Slight cleanup in make_entry_file(); make buffer list pass correct filename to get_devicon()
3 years ago
John Drouhard
02ad885d30
File icons: use colors from nvim-web-devicons if available
...
This improves the colors for file icons if nvim-web-devicons is
available. If it is, fzf-lua now uses those colors for the icons.
This should also improve the performance of make_entry_file by
optimizing string creation and when various regexes are matched.
3 years ago
bhagwan
fa70aa52f8
added 'lines' (closes issue #97 )
3 years ago
bhagwan
7fc2c44bd3
compatibility with new LSP handlers (closes issue #109 )
3 years ago
bhagwan
07288898af
added 'files_resume' (issue #103 )
3 years ago
bhagwan
ce30520aef
closes #102
3 years ago
bhagwan
2617aa1587
added convenience function 'live_grep_resume'
3 years ago
bhagwan
62024ecf9a
live_grep saves last search term (closes issue #103 )
3 years ago
bhagwan
cc7828d4d2
lsp prompt lables respected again
3 years ago
bhagwan
7a144f81da
bugfix: [No Name] buffer, minor live_grep modifications
3 years ago
bhagwan
78895876c2
standardize 'fzf_bin', live_grep options optimizations
3 years ago
bhagwan
5a66cae8ff
live_grep further optimizations for empty string queries (both fzf|sk)
3 years ago
bhagwan
5fcbace5ba
live_grep: do not perform empty string initial query (closes issue #92 )
3 years ago
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
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
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
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
5472c41f20
bugfix: live_grep with underlying 'grep'
3 years ago
bhagwan
659bd79718
bugfix: grep_curbuf
3 years ago
bhagwan
ac99206c13
added 'packadd' provider (closes issue #64 )
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