feat(nvim): improve telescope history

This commit is contained in:
Price Hiller 2022-06-27 14:24:15 -05:00
parent 3a26198623
commit e3ab39e11d
2 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,10 @@ telescope.setup({
'--column', '--column',
'--ignore-case', '--ignore-case',
}, },
history = {
path = '~/.local/share/nvim/databases/telescope_history.sqlite3',
limit = 1000,
},
prompt_prefix = '', prompt_prefix = '',
selection_caret = ' ', selection_caret = ' ',
entry_prefix = ' ', entry_prefix = ' ',
@ -66,3 +70,4 @@ telescope.load_extension('file_browser')
telescope.load_extension('notify') telescope.load_extension('notify')
telescope.load_extension('fzf') telescope.load_extension('fzf')
telescope.load_extension('ui-select') telescope.load_extension('ui-select')
telescope.load_extension('smart_history')

View File

@ -197,6 +197,7 @@ return packer.startup({
'nvim-telescope/telescope-file-browser.nvim', 'nvim-telescope/telescope-file-browser.nvim',
'artart222/telescope_find_directories', 'artart222/telescope_find_directories',
'nvim-telescope/telescope-ui-select.nvim', 'nvim-telescope/telescope-ui-select.nvim',
{ 'nvim-telescope/telescope-smart-history.nvim', requires = 'tami5/sqlite.lua' },
}) })
-- Telescope -- Telescope