diff options
| author | TJ DeVries <devries.timothyj@gmail.com> | 2020-09-11 15:38:27 -0400 |
|---|---|---|
| committer | TJ DeVries <devries.timothyj@gmail.com> | 2020-09-11 23:57:55 -0400 |
| commit | c73eb1c0d8f9d9367dafb6290b3f3be8028678c0 (patch) | |
| tree | 75fcdc8ef5ae0803534d5768bdfd863baa92ba80 /lua | |
| parent | 8beb8c876b9c80d8791526c4e4847945f11120cd (diff) | |
nit: Always set a state
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/previewers.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/telescope/previewers.lua b/lua/telescope/previewers.lua index 57e51b2..5798bac 100644 --- a/lua/telescope/previewers.lua +++ b/lua/telescope/previewers.lua @@ -40,6 +40,8 @@ function Previewer:preview(entry, status) if not self.state then if self._setup_func then self.state = self._setup_func() + else + self.state = {} end end |
