bhagwan
79371f0d9f
bugfix: "No diagnostics found" with neovim 0.6.1 ( closes #292 )
2022-01-03 10:33:31 -08:00
bhagwan
41b657e823
LSP diagnostics update for deprecations in neovim 0.6.1
2022-01-01 15:40:32 -08:00
bhagwan
9a71718c1e
escape hyphen in 'vim.fn.expand' (closes issue #285 )
2021-12-29 09:21:32 -08:00
bhagwan
3eb5baa6e9
bugfix: git icon overrides breaks 'git_status' ( closes #283 )
2021-12-28 13:13:03 -08:00
bhagwan
e40d65c1e1
new option 'show_cwd_header' forces 'cwd' in header line ( closes #281 )
2021-12-26 19:07:01 -08:00
bhagwan
b35d03f4ee
bugfix: sending results with no column to quickfix ( closes #280 )
2021-12-26 18:56:12 -08:00
bhagwan
5396fa198f
ctags: do not ignore '$' at the end of the pattern (revisit #219 )
2021-12-23 13:53:06 -08:00
bhagwan
3717661c83
'resume' rework: better way of storing last query ( closes #271 )
2021-12-21 04:36:35 -08:00
bhagwan
f0927af072
internal: added 'win.save_query', rename internal selection callback
2021-12-20 21:26:31 -08:00
bhagwan
21f19cac1a
new option 'global_resume_query': split resume from typed query ( #271 )
2021-12-20 18:12:37 -08:00
bhagwan
ab30844a7a
internal: added 'fn_post_fzf' callback
2021-12-19 14:50:02 -08:00
bhagwan
b2aee6f1d3
'git_status' preview rework, stage|unstage with <left>|<right> ( #239 )
2021-12-19 01:32:36 -08:00
bhagwan
aec049eaa6
disable 'cursorline' on resume
2021-12-18 21:45:09 -08:00
bhagwan
d15b90e8c3
tabs: 'ctrl-x': enable multi-delete and resume
2021-12-18 21:22:41 -08:00
bhagwan
bc3edb68cf
resume adjustments for buffers|tabs, 'ctrl-x' bwipe now resumes
2021-12-18 20:12:43 -08:00
bhagwan
e1674cd8f5
README update: 'no_global_resume' option clarfication
2021-12-17 22:08:57 -08:00
bhagwan
a6213f05e1
builtin: default exclude from 'resume' ( #267 )
2021-12-17 21:38:45 -08:00
bhagwan
0069dc4a8e
resume adjustments for 'live_grep_glob|native'
2021-12-17 21:34:49 -08:00
bhagwan
c5ff7b79cc
allow empty 'keymap.fzf' table to disable fzf binds ( closes #266 )
2021-12-17 10:39:07 -08:00
bhagwan
db3e71200d
added 'changes' as a subset of 'jumps' ( #264 )
2021-12-16 22:03:46 -08:00
bhagwan
bd57c8c2e8
bugfix: 'preview-page-reset' for tags|btags
2021-12-16 21:44:20 -08:00
bhagwan
41f8752f49
removed unnecessary debug print in 'goto_jump'
2021-12-16 16:52:11 -08:00
bhagwan
8338ecd673
do not delete typed query on consequitive 'resume' calls
2021-12-16 16:48:05 -08:00
bhagwan
1ece1ab09a
added 'resume': will resume **any** list, custom or builtin ( #241 )
2021-12-16 15:39:09 -08:00
bhagwan
18837e1174
internal: wrap warning message from 'read_file_async' ( closes #263 )
2021-12-16 10:07:32 -08:00
bhagwan
d874e7705a
added 'jumps', closes #264
2021-12-16 09:46:37 -08:00
bhagwan
b2bcca20c2
better way of getting nvim-web-devicons path ( closes #260 )
2021-12-15 12:35:43 -08:00
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.
2021-12-15 06:19:39 -08:00
bhagwan
3147d9b170
grep|live_grep: display informative messages on regex parse errors
2021-12-14 21:59:20 -08:00
bhagwan
62d279d74b
live_grep_resume: defaulted to multiprocess, better DEBUG message
2021-12-14 06:20:47 -08:00
bhagwan
d07c5c8522
restore 'cursorline' after 'nvim_open_win' ( closes #254 )
2021-12-14 04:14:43 -08:00
bhagwan
31a678e4de
tags, btags: hide line numbers with builtin previewer
2021-12-13 16:11:48 -08:00
bhagwan
37ea63c26b
grep|live_grep: added support for multiprocess search resume
2021-12-13 14:57:12 -08:00
bhagwan
887d6a4cd3
live_grep: multiprocess as default provider, added glob support
2021-12-13 13:21:58 -08:00
bhagwan
429f9572e0
live_grep_native: added multiprocess and icons support
2021-12-13 08:11:31 -08:00
bhagwan
681e5afe86
spawn_stdio: standardize stderr:write
2021-12-12 20:19:01 -08:00
bhagwan
704a81f90b
properly exit neovim headless with <C-c>
2021-12-12 19:55:12 -08:00
bhagwan
c569296070
internal: replace error messages from 'io.write' to 'io.stderr:write'
2021-12-12 18:52:13 -08:00
bhagwan
1a98c8919d
restored 'multiprocess=true' as default (hopefully for the last time)
2021-12-12 18:39:30 -08:00
bhagwan
058a01f8d1
spawn_stdio: write error message using 'io.stderr'
2021-12-12 18:15:30 -08:00
John Drouhard
317aafa3c3
Fix multiprocess mode pipes to use io.write() instead of opening a new file descriptor on /dev/stdout and /dev/stderr
2021-12-12 18:12:46 -08:00
bhagwan
4a013fd41d
multiprocess: use 'io.write' instead of 'uv.pipe:write'
2021-12-12 17:52:05 -08:00
bhagwan
c614b62da7
set 'mutliprocess = false' as default until I figure out all terms
2021-12-12 16:48:28 -08:00
bhagwan
d5994bf062
internal: make_entry 'file_icon_padding' minor optimization
2021-12-12 13:47:39 -08:00
bhagwan
5f31f98c8f
internal: wrap load devicons and git diff files in 'pcall'
2021-12-12 13:26:07 -08:00
bhagwan
d5998988c9
file actions: entry line/column take precedence over ctag navigation
2021-12-12 10:43:53 -08:00
bhagwan
f8b447dbbd
remove 'nvim-fzf' depedency
2021-12-12 10:36:54 -08:00
bhagwan
c7dd8ac887
bugfix: previewer reload between two nameless buffers ( closes #250 )
2021-12-12 09:55:36 -08:00
bhagwan
ab8b1a1de2
restore 'multiprocess = true' as default for 'files|grep'
2021-12-12 09:46:03 -08:00
bhagwan
828aceb3a3
internal: move git diff retrieval to make_entry.preprocess
2021-12-12 09:29:38 -08:00
bhagwan
7fa17b85bb
file_icon_padding default to empty string
2021-12-12 01:46:58 -08:00
bhagwan
9ad0aefbdb
set 'multiprocess = false' as the default
2021-12-12 01:33:02 -08:00
bhagwan
f7b8b8d9d0
bugfix: 'git_icons' with 'mutliprocess = true'
2021-12-12 00:53:40 -08:00
bhagwan
d7cc460959
last commit broken if devicons not present ( #247 )
2021-12-12 00:43:38 -08:00
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.
2021-12-11 23:10:28 -08:00
bhagwan
fd4e94e7a4
tags: rewind to line 1 before executing search (issue #245 )
2021-12-11 19:33:39 -08:00
bhagwan
72fe3222d3
keymaps: properly display <Space> (closes issue #246 )
2021-12-11 13:49:08 -08:00
bhagwan
e7c4970146
tags: jump to pattern when opening buffer ( closes #245 )
2021-12-11 13:40:17 -08:00
bhagwan
46c9e2bcd2
tags: optimized performance with the builtin previewer ( #245 )
2021-12-11 13:16:58 -08:00
bhagwan
028460f728
add 'tiebreak=index' to command and search history ( closes #243 )
2021-12-08 17:31:09 -08:00
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
2021-12-07 06:56:37 -08:00
bhagwan
2f30c9cb21
temporarily disable 'strip_cwd_prefix'
2021-12-05 12:48:07 -08:00
bhagwan
58031b63d9
internal: default option condition optimization
2021-12-05 11:52:42 -08:00
bhagwan
ccc9ee3e4f
strip cwd prefix './' from files (fd v8.3.0 '--strip-cwd-prefix')
2021-12-05 11:15:11 -08:00
bhagwan
2d6967be4b
LSP: properly set 'async = true' default for symbols
2021-12-05 10:04:52 -08:00
bhagwan
a14548321a
fzf win not entering INSERT mode if called from 'builtin' ( closes #238 )
2021-12-05 09:47:31 -08:00
bhagwan
419a57a78f
LSP: set 'async = false' on all but workspace/document symbols
2021-12-05 09:31:06 -08:00
bhagwan
18addf7dfd
builtin: only enter INSERT mode if 'nt' mode exists ( closes #235 )
2021-12-04 12:00:56 -08:00
bhagwan
ae40b13517
bugfix: embarassing regex error ( closes #231 )
2021-12-03 07:31:14 -08:00
bhagwan
000d65b43b
preview: don't reload the buffer if match is from the same file/buffer
2021-12-02 22:10:27 -08:00
bhagwan
04912f6eff
limit preview filetype workaround to help files only
2021-12-02 13:22:46 -08:00
bhagwan
7b0e658db5
grep: remove '--column' flag when search string is empty
2021-12-02 10:09:18 -08:00
bhagwan
1d6ea8d381
lines|blines|grep_curbuf|lgrep_curbuf: hide filename by default
...
fix help buffer syntax highlighting in blines|buffer preview
2021-12-02 09:19:20 -08:00
bhagwan
253b9413eb
blines: set defaults 'show_unlisted = true', 'no_term_buffers = false'
2021-12-01 12:42:09 -08:00
bhagwan
a5e1be796d
added '--tiebreak=index' to 'lines', 'blines' ( #228 )
2021-12-01 09:27:30 -08:00
bhagwan
ac342fcb3b
'grep_curbuf' is now consistent with 'grep_' cmds, added 'lgrep_curbuf'
2021-12-01 08:58:51 -08:00
bhagwan
92e21423a1
lsp_code_actions: acquire client only if needed to resolve action
2021-11-30 09:56:14 -08:00
bhagwan
100f62dee1
lsp_code_actions: resolve action for jdtls (ty Telescope!)
2021-11-30 08:52:53 -08:00
bhagwan
a677abe6fb
blines/lines: export 'no_term_buffers' option
2021-11-29 21:11:31 -08:00
bhagwan
74fca12501
bugfix: open 'help_tags' from an existing help buffer
2021-11-26 12:59:37 -08:00
bhagwan
fad1ef47e3
further shell perf improvements for git and tags
2021-11-23 00:17:25 -08:00
bhagwan
abd1a3cc90
improve performance of executing commands by avoiding the shell
2021-11-22 23:21:59 -08:00
bhagwan
8d87ef366e
Workaround for potential 'tempname' bug ( #222 )
2021-11-21 17:47:06 -08:00
bhagwan
63ed48baf9
added option to show unlisted buffers ( closes #220 )
2021-11-21 09:52:44 -08:00
bhagwan
2f97f24c16
tags: adjust regex crlf pattern ( #219 )
2021-11-19 19:54:48 -08:00
bhagwan
a45ea4dec5
bugfix: tags with similar prefixes, 'ff=dos' newline ( closes #219 )
2021-11-19 19:16:29 -08:00
bhagwan
fe4494446e
expose builtin previewer window options ( closes #218 )
2021-11-19 17:13:19 -08:00
bhagwan
956a092e55
internal: removed unnecessary 'require'
2021-11-18 19:10:55 -08:00
bhagwan
fa006b8d9f
jdtls LSP code actions zero version field fix
2021-11-14 14:16:20 -08:00
bhagwan
b462ba2cc6
added 'grep_project' command (shortcut to 'grep' with empty query)
2021-11-13 10:20:40 -08:00
bhagwan
5e899dc046
set correct title highlight length (+1)
2021-11-13 01:03:26 -08:00
bhagwan
056ee93169
globally apply fix from #197 (table ref copy overrides globals)
2021-11-12 21:24:30 -08:00
bhagwan
ac0862cfb1
internal: libuv spawn, limit uv.write chunks to 65K
2021-11-12 20:58:41 -08:00
bhagwan
e02451600a
'live_grep' freezes on large text files ( #211 )
2021-11-12 19:24:06 -08:00
bhagwan
cb526dbb0c
remove 'manually loaded' comment ( closes #212 )
2021-11-11 08:11:14 -08:00
bhagwan
9065fdf1bb
Manually source 'FzfLua' VimL in latest nightly
2021-11-10 14:59:14 -08:00
bhagwan
c9979a4bb4
workaround for 'g:nvim_fzf_directory' not set with latest nightly
2021-11-10 10:59:31 -08:00
bhagwan
471d853a9e
LSP: fixed error message on LSP client failure
2021-11-09 13:44:42 -08:00
bhagwan
936c10dc71
async LSP: support multiple LSP clients attached to the same file
2021-11-09 13:29:04 -08:00
bhagwan
62937db2db
run fzf with 'sh -c' to prevent woes with other shell types ( #210 )
2021-11-08 20:35:04 -08:00