bhagwan
f2ebd3b9c3
added 'vim.ui.select' action help string
3 years ago
bhagwan
e4dcd44fb3
git_files: set 'multiprocess=true' as default
3 years ago
bhagwan
e89d5bc009
OSX: use stdout instead of stderr due to rendering issues ( #287 , #316 )
3 years ago
bhagwan
8e37ef6e21
added resume support for 'vim.ui.select'
3 years ago
bhagwan
5b5270684f
exit visual mode before 'vim.ui.select' interface
3 years ago
bhagwan
28757aa248
extra safety check for 'vim.ui.select' on_choice
3 years ago
bhagwan
7c4c61acb9
properly escape lua special chars in 'path.relative' ( closes #315 )
3 years ago
bhagwan
f466e20196
added custom options to 'register_ui_select'
3 years ago
bhagwan
475ffb2673
added provider for 'vim.ui.select' ( closes #314 )
3 years ago
bhagwan
7e7f6d8cc3
add offset_encoding to code_action apply_workspace_edit ( #314 )
3 years ago
bhagwan
1546c82b67
pass $FZF_PREVIEW_LINES|$FZF_PREVIEW_COLUMNS to git_diff cmd ( #313 )
3 years ago
bhagwan
7554520125
exclude unusable function/modules from :FzfLua auto-complete
3 years ago
bhagwan
c096cd1849
grep_project: exclude filename from fuzzy search by default
3 years ago
bhagwan
f9c9ae1768
bugfix: consecutive send-selection-to-quickfix
3 years ago
bhagwan
243ec9d9f3
chore: remove all LSP warnings
3 years ago
bhagwan
5f5d7e2ade
internal: add vararg to class:new to suppress useless warnings
3 years ago
bhagwan
3e6a794c8c
internal: save prompt fallback in win class
3 years ago
bhagwan
4f8751db52
LSP prompt renamed to 'prompt_postfix' ( closes #308 )
3 years ago
bhagwan
2ab8adadb1
enable custom 'nvim-web-devicons' setup with mulitprocess ( closes #311 )
3 years ago
Jürgen Steitz
5dc661e4e8
fix devicon size in litty using file_icon_padding
...
This fix removes the nbsp. Kitty needs a normal space to extend the icon size.
3 years ago
bhagwan
95b63ef731
'jump_to_single_result_action' removed extra item in array
3 years ago
bhagwan
0637c1b686
add offset_encoding to LSP location APIs ( closes #306 )
3 years ago
bhagwan
9ac1543b55
F1 keybind help: normalize keybind format, remove duplicate binds
3 years ago
bhagwan
32b2cdb510
F1 keybind help: fixed formatting in wider terminals
3 years ago
bhagwan
2d1862d034
added new action 'file_switch' ( closes #301 )
3 years ago
bhagwan
e3546e8272
new feature: press F1 for keybind help ( #294 )
3 years ago
bhagwan
da2c0fe3df
bugfix: 'lines|blines' default action in term buffers
3 years ago
bhagwan
2122c2cd05
file actions: do not add to jumplist from term buffers
3 years ago
bhagwan
04c342f799
feature: accept opts argument as function that returns opts table
3 years ago
bhagwan
1c28cbc904
'lines|blines' nightly fix, cwd header added to 'oldfiles'
3 years ago
bhagwan
340ad70215
fix 'help_tags' in nightly (error: 'Expected Lua number')
3 years ago
bhagwan
58e159c36e
internal: only replace {argv} when requested by live_grep
3 years ago
bhagwan
8ad6e92b9f
bugfix: live_grep on NixOS, adjust for extra neovim cli args ( #291 )
3 years ago
bhagwan
79371f0d9f
bugfix: "No diagnostics found" with neovim 0.6.1 ( closes #292 )
3 years ago
bhagwan
41b657e823
LSP diagnostics update for deprecations in neovim 0.6.1
3 years ago
bhagwan
9a71718c1e
escape hyphen in 'vim.fn.expand' (closes issue #285 )
3 years ago
bhagwan
3eb5baa6e9
bugfix: git icon overrides breaks 'git_status' ( closes #283 )
3 years ago
bhagwan
e40d65c1e1
new option 'show_cwd_header' forces 'cwd' in header line ( closes #281 )
3 years ago
bhagwan
b35d03f4ee
bugfix: sending results with no column to quickfix ( closes #280 )
3 years ago
bhagwan
5396fa198f
ctags: do not ignore '$' at the end of the pattern (revisit #219 )
3 years ago
bhagwan
3717661c83
'resume' rework: better way of storing last query ( closes #271 )
3 years ago
bhagwan
f0927af072
internal: added 'win.save_query', rename internal selection callback
3 years ago
bhagwan
21f19cac1a
new option 'global_resume_query': split resume from typed query ( #271 )
3 years ago
bhagwan
ab30844a7a
internal: added 'fn_post_fzf' callback
3 years ago
bhagwan
b2aee6f1d3
'git_status' preview rework, stage|unstage with <left>|<right> ( #239 )
3 years ago
bhagwan
aec049eaa6
disable 'cursorline' on resume
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
c5ff7b79cc
allow empty 'keymap.fzf' table to disable fzf binds ( closes #266 )
3 years ago
bhagwan
db3e71200d
added 'changes' as a subset of 'jumps' ( #264 )
3 years ago
bhagwan
bd57c8c2e8
bugfix: 'preview-page-reset' for tags|btags
3 years ago
bhagwan
41f8752f49
removed unnecessary debug print in 'goto_jump'
3 years ago
bhagwan
8338ecd673
do not delete typed query on consequitive 'resume' calls
3 years ago
bhagwan
1ece1ab09a
added 'resume': will resume **any** list, custom or builtin ( #241 )
3 years ago
bhagwan
18837e1174
internal: wrap warning message from 'read_file_async' ( closes #263 )
3 years ago
bhagwan
d874e7705a
added 'jumps', closes #264
3 years ago
bhagwan
b2bcca20c2
better way of getting nvim-web-devicons path ( closes #260 )
3 years ago
Tamir Zahavi-Brunner
9421bc225f
Do not remap when calling feedkeys ( closes #258 )
...
When calling vim.fn.feedkeys for commands or searches ,which means it is
prefixed by ":" or "/", one of those keys could be remapped to something
else. Calling feedkeys with "n" means this mapping would be ignored.
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
d07c5c8522
restore 'cursorline' after 'nvim_open_win' ( closes #254 )
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
681e5afe86
spawn_stdio: standardize stderr:write
3 years ago
bhagwan
704a81f90b
properly exit neovim headless with <C-c>
3 years ago
bhagwan
c569296070
internal: replace error messages from 'io.write' to 'io.stderr:write'
3 years ago
bhagwan
1a98c8919d
restored 'multiprocess=true' as default (hopefully for the last time)
3 years ago
bhagwan
058a01f8d1
spawn_stdio: write error message using 'io.stderr'
3 years ago
John Drouhard
317aafa3c3
Fix multiprocess mode pipes to use io.write() instead of opening a new file descriptor on /dev/stdout and /dev/stderr
3 years ago
bhagwan
4a013fd41d
multiprocess: use 'io.write' instead of 'uv.pipe:write'
3 years ago
bhagwan
c614b62da7
set 'mutliprocess = false' as default until I figure out all terms
3 years ago
bhagwan
d5994bf062
internal: make_entry 'file_icon_padding' minor optimization
3 years ago
bhagwan
5f31f98c8f
internal: wrap load devicons and git diff files in 'pcall'
3 years ago
bhagwan
d5998988c9
file actions: entry line/column take precedence over ctag navigation
3 years ago
bhagwan
f8b447dbbd
remove 'nvim-fzf' depedency
3 years ago
bhagwan
c7dd8ac887
bugfix: previewer reload between two nameless buffers ( closes #250 )
3 years ago
bhagwan
ab8b1a1de2
restore 'multiprocess = true' as default for 'files|grep'
3 years ago
bhagwan
828aceb3a3
internal: move git diff retrieval to make_entry.preprocess
3 years ago
bhagwan
7fa17b85bb
file_icon_padding default to empty string
3 years ago
bhagwan
9ad0aefbdb
set 'multiprocess = false' as the default
3 years ago
bhagwan
f7b8b8d9d0
bugfix: 'git_icons' with 'mutliprocess = true'
3 years ago
bhagwan
d7cc460959
last commit broken if devicons not present ( #247 )
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
fd4e94e7a4
tags: rewind to line 1 before executing search (issue #245 )
3 years ago
bhagwan
72fe3222d3
keymaps: properly display <Space> (closes issue #246 )
3 years ago
bhagwan
e7c4970146
tags: jump to pattern when opening buffer ( closes #245 )
3 years ago
bhagwan
46c9e2bcd2
tags: optimized performance with the builtin previewer ( #245 )
3 years ago
bhagwan
028460f728
add 'tiebreak=index' to command and search history ( closes #243 )
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
2f30c9cb21
temporarily disable 'strip_cwd_prefix'
3 years ago
bhagwan
58031b63d9
internal: default option condition optimization
3 years ago
bhagwan
ccc9ee3e4f
strip cwd prefix './' from files (fd v8.3.0 '--strip-cwd-prefix')
3 years ago
bhagwan
2d6967be4b
LSP: properly set 'async = true' default for symbols
3 years ago
bhagwan
a14548321a
fzf win not entering INSERT mode if called from 'builtin' ( closes #238 )
3 years ago
bhagwan
419a57a78f
LSP: set 'async = false' on all but workspace/document symbols
3 years ago