postgres-language-server
postgres-language-server copied to clipboard
`parser_codegen!()` panics
Bug report
- [x] I confirm this is a bug with Supabase, not with my own application.
- [x] I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
Panic during parsing
.../vim/lsp/rpc.lua:770 "rpc" "/Users/user/.cargo/bin/postgres_lsp" "stderr"
"thread 'main' panicked at crates/parser/src/codegen.rs:3:1:
Unknown AExpr kind AexprBetween
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
git clone https://github.com/supabase-community/postgres_lsp.git && cd postgres_lspgit submodule update --init --recursivecargo xtask install(orcargo xtask install --server)- edit the nvim config according to the doc
- open the sql file with nvim
Expected behavior
No panic
System information
- OS:
macOS - nvim:
v0.10.0, build type: Release, LuaJIT 2.1.1713773202