summaryrefslogtreecommitdiff
path: root/lua/telescope/pickers/highlights.lua
diff options
context:
space:
mode:
authorKyoichiro Yamada <me@kyoh86.dev>2021-03-30 03:04:25 +0900
committerGitHub <noreply@github.com>2021-03-29 21:04:25 +0300
commit2e03f67de9eab023098bd05916bf26556520a467 (patch)
tree155d6d58dd33ba73d565e0a4f4406d7215098f81 /lua/telescope/pickers/highlights.lua
parenta7fa60411efbfddc0674d65346a5311e33f6deb1 (diff)
picker(git_branch): show committer, upstream and date (#695)
* wip: rich finder for branches for: https://github.com/nvim-telescope/telescope.nvim/issues/569 * fix some diagnostics
Diffstat (limited to 'lua/telescope/pickers/highlights.lua')
-rw-r--r--lua/telescope/pickers/highlights.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/pickers/highlights.lua b/lua/telescope/pickers/highlights.lua
index 2b6abfe..8378e9b 100644
--- a/lua/telescope/pickers/highlights.lua
+++ b/lua/telescope/pickers/highlights.lua
@@ -43,7 +43,7 @@ end
function Highlighter:clear_display()
if not self
or not self.picker
- or not self.picker.results_bufnr
+ or not self.picker.results_bufnr
or not vim.api.nvim_buf_is_valid(self.picker.results_bufnr)
then
return