Skip to content

Error inserting into sqlite DB #32

@timtyrrell

Description

@timtyrrell

I have searched this and the tami5/sqlite.lua repo for issues and didn't see anything. When I close neovim or run lua require('neoclip.storage').on_exit() in the command line I get the error below:

Couldn't insert in database since: ...rell/.config/nvim/plugged/sqlite.lua/lua/sqlite/stmt.lua:35: sqlite.lua: sql statement parse, , stmt: insert into neoclip () values(), err: (near ")": syntax error)

I did delete the databases folder and saw it recreated but I get the same error above.

Any idea what I could be doing wrong or have misconfigured?

version: NVIM v0.6.0-dev+624-ga2e5c2f7c but I believe I have always seen the error.

mini.vim

set nocompatible
filetype plugin indent on
syntax on
set hidden

call plug#begin('~/.config/nvim/plugged')

Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim'

Plug 'tami5/sqlite.lua'
Plug 'AckslD/nvim-neoclip.lua'

call plug#end()

lua << EOF

require('telescope').setup {}

require("telescope").load_extension("neoclip")
require('neoclip').setup({
  history = 1000,
  enable_persistant_history = true,
  preview = true,
})

EOF

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions