diff options
| author | TJ DeVries <devries.timothyj@gmail.com> | 2021-04-08 10:35:44 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-08 10:35:44 -0400 |
| commit | 64e59060b1750d0c86761693b6847c3db07afcd2 (patch) | |
| tree | 13e8c0117cdff926e7bbf107f5496c733329cfb7 /lua/telescope/log.lua | |
| parent | e5fbe6fe60149af8fdeef0d07cba06c029258ba0 (diff) | |
feat: asyncify pickers - except for live_grep (#709)
* something kind of works already
* yayayayayayayayayayayayayayayayayayayayayayayayayayayayayayayayaya
* use async for everything besides live jobs
* fix: fixup autocmds previewer
* fix: lints for prime
* temp: Add example of how we can think about async sorters
* feat: Allow picker to decide when to cancel
* fix: simplify scoring logic and tests
* fixup: name
* fix: Move back towards more backwards compat methods
* fixup: Remove results from opts
* fixup: remove trailing quote
* fixup: Attempt to clean up some more async items. Next is status
* wip: Add todo for when bfredl implements extmarks over the EOL
* wip
* fixup: got em
* fixup: cleaning
* fixup: docs
Diffstat (limited to 'lua/telescope/log.lua')
| -rw-r--r-- | lua/telescope/log.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/telescope/log.lua b/lua/telescope/log.lua index 9beabb1..c93472b 100644 --- a/lua/telescope/log.lua +++ b/lua/telescope/log.lua @@ -1,5 +1,6 @@ +local user = vim.loop.os_getenv("USER") return require('plenary.log').new { plugin = 'telescope', - level = (vim.loop.os_getenv("USER") == 'tj' and 'debug') or 'warn', + level = ((user == 'tj' or user == 'tjdevries') and 'debug') or 'warn', } |
