lucat1 / visimp

A simple and modular neovim config
GNU Affero General Public License v3.0
8 stars 3 forks source link

:wq #53

Closed foxyseta closed 1 year ago

foxyseta commented 1 year ago

Error message on :wq.

E5108: Error executing lua [string ":lua"]:1: attempt to call field 'formatting_seq_sync' (a nil value)
stack traceback:
        [string ":lua"]:1: in main chunk
foxyseta commented 1 year ago

Solved by 2551feac3940e0c8bc3ce2c4f3c58fc0cf98a6df.

specialfish9 commented 1 year ago

Hi, how did you solved?

lucat1 commented 1 year ago

Mh, we should have added the autocommand provided here (@foxyseta changed from the old command to the new one): https://github.com/lukas-reineke/lsp-format.nvim#wq-will-not-format-when-not-using-sync

Is this not working for you? (it is for me) if so, give me your nvim version and also the output of: cd ~/.local/share/nvim/site/pack/paks/start/visimp && git rev-parse HEAD

specialfish9 commented 12 months ago

The command outputs 47305db32780288c96715e9f072de9150b997a38 My nvim version is 0.9.1

Thanks!