#28 LSP diagnostics are being showed along with lsp_lines 1 year, 6 months ago

Ticket created by ~acecards on ~whynothugo/lsp_lines.nvim

After setting up lsp_lines, I'm hiding LSP diagnostics. But I see both of them. When I toggle again from a keymap, it works fine. This seems to be happening for the first launch.

Here's my config

local lsp_lines = require("lsp_lines")

local M = {}

function M.toggle()
    vim.diagnostic.config {
        virtual_text = not lsp_lines.toggle(),

vim.diagnostic.config {
    virtual_text = false,

return M