neovim: Reduce LSP log level

This commit is contained in:
Peter Cai 2022-08-08 22:20:23 -04:00
parent 031b4ab737
commit a898b5e555
1 changed files with 5 additions and 0 deletions

View File

@ -82,3 +82,8 @@ require('lspconfig')['rust_analyzer'].setup({
},
capabilities = capabilities,
})
-- TODO: Set this to OFF when neovim supports it (0.8 release probably)
-- rust_analyzer spits out spurious errors with build.rs outputs
-- likely due to a race condition between the VFS initialization and the diagnostics
vim.lsp.set_log_level("error")