CosmicNvim / CosmicNvim

CosmicNvim is a lightweight and opinionated Neovim config for web development, specifically designed to provide a 💫 COSMIC programming experience!

Home Page:https://cosmicnvim.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when writing lua files.

ettiernu opened this issue · comments

Recent packer update has started triggering this error whenever I save a lua file.
Unsure about other file types.

Error detected while processing BufWritePre Autocommands for "*":
Error executing lua callback: vim/shared.lua:0: t: expected table, got nil
stack traceback:
        [C]: in function 'error'
        vim/shared.lua: in function 'validate'
        vim/shared.lua: in function 'tbl_filter'
        /usr/local/share/nvim/runtime/lua/vim/lsp/buf.lua:205: in function 'format'

Also happened with current a vanilla pull from github, so its not something in my configuration.

Hello,
you need to install the NeoVim nightly >= 0.8 or use CosmicNvim 0.5.1

@ettiernu Please update to the latest NVIM nightly