Improve neovim error reporting

Do not add diagnostics from lsp in addition to ale.
This commit is contained in:
Daniel Siepmann 2023-02-07 11:46:36 +01:00
parent e6511b6b90
commit 813cba39bb
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -294,10 +294,19 @@ in {
# LSP (=Language Server Protocol)
# I remove diagnostics as I use ale instead.
# Maybe some day I need both or use lsp for some languages, docs:
# - https://neovim.io/doc/user/diagnostic.html#diagnostic-api
# - https://github.com/neovim/nvim-lspconfig/issues/662
{
plugin = nvim-lspconfig;
type = "lua";
config = ''
vim.diagnostic.config({
virtual_text = false,
signs = false,
})
require('lspconfig').phpactor.setup({
cmd = {
'${phpactor}/bin/phpactor',