leafo / pgmoon

A pure Lua Postgres driver for use in OpenResty & more
MIT License
390 stars 93 forks source link

It works in neovim! #122

Closed will closed 2 years ago

will commented 2 years ago

Just wanted to share that I got this working (at least to start) with neovim which is pretty neat

image

Needed to also install luasocket, but that worked out well enough

vim.fn.setenv("MACOSX_DEPLOYMENT_TARGET", "10.15") -- https://github.com/wbthomason/packer.nvim/issues/180
local rocks = require("packer").use_rocks
rocks("pgmoon")
rocks("luasocket")