summaryrefslogblamecommitdiffstats
path: root/.config/nvim/lua/lsp.lua
blob: 95d9409ab6bd411ab20b63526dea6e61957c92c7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                           
--[[
-- lsp
--]]

local lsp = vim.lsp

lsp.handlers["textDocument/publishDiagnostics"] = lsp.with(
  lsp.diagnostic.on_publish_diagnostics,
  {
    underline = false,
    virtual_text = {
      prefix = "▒ ",
      spacing = 8,
    },
    signs = true,
  }
)
remember that computers suck.