diff options
| author | eth3lbert <eth3lbert+dev@gmail.com> | 2020-12-15 16:26:05 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-15 09:26:05 +0100 |
| commit | af8d990c2cc19577f9503fae29c59d256e304bee (patch) | |
| tree | 0be5311eb4f5274ef816fdc3e55459d968be905e /lua | |
| parent | dfeebffd93ecf4a6abac29c078ca58ddf6bf107c (diff) | |
fix: typo (#339)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/previewers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/previewers.lua b/lua/telescope/previewers.lua index 5d64d04..9344b2f 100644 --- a/lua/telescope/previewers.lua +++ b/lua/telescope/previewers.lua @@ -23,7 +23,7 @@ Previewer.__index = Previewer -- TODO: Should play with these some more, ty @clason local bat_options = {"--style=plain", "--color=always", "--paging=always"} -local has_less = (vim.fn.executable('less') == 1) and conf.has_less +local has_less = (vim.fn.executable('less') == 1) and conf.use_less local termopen_env = vim.tbl_extend("force", { ['GIT_PAGER'] = (has_less and 'less' or '') }, conf.set_env) -- TODO(conni2461): Workaround for neovim/neovim#11751. Add only quotes when using else branch. |
