MunifTanjim / prettier.nvim

Prettier plugin for Neovim's built-in LSP client.
MIT License
289 stars 9 forks source link

fix: nil pointer error when user_options not provided #22

Closed p-m-p closed 1 year ago

p-m-p commented 1 year ago

After my last PR I removed the options as I'm now using the defaults but get nil pointer error if don't supply empty table to setup. You may want to fix it differently but this seems to work. Thanks again.

require('pretter').setup()
MunifTanjim commented 1 year ago

Thanks!