aboutsummaryrefslogtreecommitdiffstats
path: root/after/plugin/lsp_lines.lua
blob: 5cb97b5913195bc01a15ac8b4633342d00d8d1a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
local ok, lsp_lines = pcall(require, "lsp_lines")
if not ok then
	return
end

vim.diagnostic.config({
  virtual_text = false,
})

vim.diagnostic.config({ virtual_lines = { only_current_line = true } })

lsp_lines.setup()

vim.keymap.set(
  "",
  "<Leader>l",
  require("lsp_lines").toggle,
  { desc = "Toggle lsp_lines" }
)