diff options
| author | TJ DeVries <devries.timothyj@gmail.com> | 2020-09-22 10:04:02 -0400 |
|---|---|---|
| committer | TJ DeVries <devries.timothyj@gmail.com> | 2020-09-22 10:04:02 -0400 |
| commit | 941fb160c5397e243e55f55d1f01608b0b360a6e (patch) | |
| tree | 9f3c117e922a312e71fda5865490a50ed007e3f7 /lua/telescope/log.lua | |
| parent | be9a0e5236783b67af1293a4852f4f68ae77f134 (diff) | |
fix: Don't log so much for users. Fix #91
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 a04ef42..2796dbb 100644 --- a/lua/telescope/log.lua +++ b/lua/telescope/log.lua @@ -1,4 +1,5 @@ + return require('plenary.log').new { plugin = 'telescope', - level = 'info', + level = (vim.loop.os_getenv("USER") == 'tj' and 'debug') or 'info', } |
