Expected: Nothing happens.
Actual: Error is shown.
It seems sqlite.lua tries to invoke the function.
E5108: Error executing lua ....local/share/nvim/plugged/sqlite.lua/lua/sqlite/stmt.lua:35: sqlite.lua: sql statement parse, , stmt:
`insert into history (content, cwd, picker) values(x(), :cwd, :picker)`, err: `(`no such function: x`)`
stack traceback:
[C]: in function 'assert'
....local/share/nvim/plugged/sqlite.lua/lua/sqlite/stmt.lua:35: in function 'parse'
...n/.local/share/nvim/plugged/sqlite.lua/lua/sqlite/db.lua:447: in function 'fn'
....local/share/nvim/plugged/sqlite.lua/lua/sqlite/defs.lua:639: in function 'wrap_stmts'
...n/.local/share/nvim/plugged/sqlite.lua/lua/sqlite/db.lua:445: in function 'insert'
.../.local/share/nvim/plugged/sqlite.lua/lua/sqlite/tbl.lua:380: in function 'insert'
...history.nvim/lua/telescope/_extensions/smart_history.lua:68: in function '_append'
...plugged/telescope.nvim/lua/telescope/actions/history.lua:108: in function 'append'
...im/plugged/telescope.nvim/lua/telescope/actions/init.lua:245: in function <...im/plugged/telescope.nvim/lua/telescope/ac
tions/init.lua:244>
...nvim/plugged/telescope.nvim/lua/telescope/actions/mt.lua:58: in function 'key_func'
...e/nvim/plugged/telescope.nvim/lua/telescope/mappings.lua:242: in function 'execute_keymap'
[string ":lua"]:1: in main chunk
live_grep
x()
Expected: Nothing happens. Actual: Error is shown.
It seems
sqlite.lua
tries to invoke the function.