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
bhagwan
18addf7dfd
builtin: only enter INSERT mode if 'nt' mode exists ( closes #235 )
3 years ago
bhagwan
ae40b13517
bugfix: embarassing regex error ( closes #231 )
3 years ago
bhagwan
39168eecb5
README: updated 'winopts.preview.delay'
3 years ago
bhagwan
000d65b43b
preview: don't reload the buffer if match is from the same file/buffer
3 years ago
bhagwan
04912f6eff
limit preview filetype workaround to help files only
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
253b9413eb
blines: set defaults 'show_unlisted = true', 'no_term_buffers = false'
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
74fca12501
bugfix: open 'help_tags' from an existing help buffer
3 years ago
bhagwan
fad1ef47e3
further shell perf improvements for git and tags
3 years ago
bhagwan
abd1a3cc90
improve performance of executing commands by avoiding the shell
3 years ago
bhagwan
8d87ef366e
Workaround for potential 'tempname' bug ( #222 )
3 years ago
bhagwan
63ed48baf9
added option to show unlisted buffers ( closes #220 )
3 years ago