From a7de377d8d3087581958f84d982b616fc93ca471 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 12 Nov 2022 17:01:26 +0100 Subject: Rename module --- lua/no-clown-fiesta/groups/lsp.lua | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 lua/no-clown-fiesta/groups/lsp.lua (limited to 'lua/no-clown-fiesta/groups/lsp.lua') diff --git a/lua/no-clown-fiesta/groups/lsp.lua b/lua/no-clown-fiesta/groups/lsp.lua new file mode 100644 index 0000000..face8d3 --- /dev/null +++ b/lua/no-clown-fiesta/groups/lsp.lua @@ -0,0 +1,29 @@ +local M = {} + +function M.highlight(palette) + return { + LspReferenceRead = { bg = "#36383F" }, + LspReferenceText = { bg = "#36383F" }, + LspReferenceWrite = { bg = "#36383f" }, + + DiagnosticError = { fg = palette.error }, + DiagnosticWarn = { fg = palette.warning }, + DiagnosticInfo = { fg = palette.info }, + DiagnosticHint = { fg = palette.hint }, + + DiagnosticVirtualTextError = { fg = palette.error }, + DiagnosticVirtualTextWarn = { fg = palette.warning }, + DiagnosticVirtualTextInfo = { fg = palette.info }, + DiagnosticVirtualTextHint = { fg = palette.hint }, + + DiagnosticUnderlineError = { undercurl = true, sp = palette.error }, + DiagnosticUnderlineWarn = { undercurl = true, sp = palette.warning }, + DiagnosticUnderlineInfo = { undercurl = true, sp = palette.info }, + DiagnosticUnderlineHint = { undercurl = true, sp = palette.hint }, + + LspSignatureActiveParameter = { bg = palette.alt_bg, bold = true }, + LspCodeLens = { fg = palette.comment }, + } +end + +return M -- cgit v1.2.3-70-g09d2