Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors with vim.cmd and vim.lsp.buf.format #47

Open
HeavyMetalGeek opened this issue Feb 8, 2023 · 0 comments
Open

Errors with vim.cmd and vim.lsp.buf.format #47

HeavyMetalGeek opened this issue Feb 8, 2023 · 0 comments

Comments

@HeavyMetalGeek
Copy link

I was going through and updating my config files and Neovim complained about the following:

  • In packer.lua : vim.cmd.packeradd("packer.nvim")
    • Resolved by changing to vim.cmd [[packeradd packer.nvim]]
  • In packer.lua : vim.cmd.colorscheme("tokyonight")
    • Resolved by changing to vim.cmd [[colorscheme tokyonight]]
  • In remap.lua : vim.cmd.Ex
    • Resolved by changing to ":Ex<CR>"
  • In remap.lua : vim.lsp.buf.format
    • Resolved by changing to `function() vim.lsp.buf.format {} end)

I'm not sure what changed, but it affected 1 of 2 of my linux installs as well as my windows install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant