Skip to content

sqlite.lua doesn't seem to work with this. #4

@fireboy1919

Description

@fireboy1919

NVIM v0.6.0
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3

Latest version of all the lua libraries.

E5108: Error executing lua ...m/site/pack/packer/start/sqlite.lua/lua/sqlite/utils.lua:252: loop or previous error loading module 'sqlite.tbl'
stack traceback:
        [C]: in function 'require'
        ...m/site/pack/packer/start/sqlite.lua/lua/sqlite/utils.lua:252: in function '__index'
        ...nvim/site/pack/packer/start/sqlite.lua/lua/sqlite/db.lua:637: in function 'tbl'
        ...history.nvim/lua/telescope/_extensions/smart_history.lua:34: in function 'init'
        ...r/start/telescope.nvim/lua/telescope/actions/history.lua:76: in function 'handler'
        ...ker/start/telescope.nvim/lua/telescope/actions/state.lua:47: in function 'get_current_history'
        ...cker/start/telescope.nvim/lua/telescope/actions/init.lua:184: in function <...cker/start/telescope.nvim/lua/telescope/actions/init.lua:183>
        ...packer/start/telescope.nvim/lua/telescope/actions/mt.lua:23: in function 'key_func'
        ...k/packer/start/telescope.nvim/lua/telescope/mappings.lua:236: in function 'execute_keymap'

This is my reduced packer config:

require('packer').startup(function(use)
  -- My plugins here
  use 'wbthomason/packer.nvim'
  use 'nvim-telescope/telescope.nvim'

  use {
    "nvim-telescope/telescope-smart-history.nvim",
    config = function()
      require"telescope".load_extension("smart_history")
    end,
    requires = {"tami5/sqlite.lua"}
  }

  -- Automatically set up your configuration after cloning packer.nvim
  -- Put this at the end after all plugins
  if packer_bootstrap then
    require('packer').sync()
  end
end)

Telescope setup:

require("telescope").setup {
  defaults = {
    wrap_results = true,
    history = {
      path = '~/.local/share/nvim/databases/telescope_history.sqlite3',
      limit = 100
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions