diff options
| author | TJ DeVries <devries.timothyj@gmail.com> | 2020-10-08 22:31:44 -0400 |
|---|---|---|
| committer | TJ DeVries <devries.timothyj@gmail.com> | 2020-10-08 22:31:44 -0400 |
| commit | 59497d664086c4c7aa24a15a1c3b9ccf718ce9c7 (patch) | |
| tree | fc418ff9dbfd96579ccb897c0f15f47c19894bb6 /lua/telescope/entry_manager.lua | |
| parent | 7938ace0f6681e5bd5207283036b496416879c67 (diff) | |
feat: Do a bit better sorting for command history
To be honest, I'm not 100% sure this is fantastic, but it's definitely a
step in the right direction for command history.
Closes: #150
Diffstat (limited to 'lua/telescope/entry_manager.lua')
| -rw-r--r-- | lua/telescope/entry_manager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/entry_manager.lua b/lua/telescope/entry_manager.lua index 532cca2..d53586e 100644 --- a/lua/telescope/entry_manager.lua +++ b/lua/telescope/entry_manager.lua @@ -113,7 +113,7 @@ function EntryManager:insert(picker, index, entry) self.info.inserted = self.info.inserted + 1 next_entry = self.entry_state[index] - self.set_entry(picker, index, entry.entry) + self.set_entry(picker, index, entry.entry, entry.score) self.entry_state[index] = entry last_score = entry.score |
