lspconfig[server_name].setup({})
end
})
+
+ local border = {
+ {"┌", "FloatBorder"},
+ {"─", "FloatBorder"},
+ {"┐", "FloatBorder"},
+ {"│", "FloatBorder"},
+ {"┘", "FloatBorder"},
+ {"─", "FloatBorder"},
+ {"└", "FloatBorder"},
+ {"│", "FloatBorder"},
+ }
+
+ -- To instead override globally
+ local orig_util_open_floating_preview = vim.lsp.util.open_floating_preview
+ function vim.lsp.util.open_floating_preview(contents, syntax, opts, ...)
+ opts = opts or {}
+ opts.border = opts.border or border
+ return orig_util_open_floating_preview(contents, syntax, opts, ...)
+ end
end
},
}
highlight("PmenuThumb", grey, black, nil, c_black, nil, nil)
highlight("PmenuSel", green, black, c_green, c_black, nil, nil)
highlight("VertSplit", dark_grey, black, c_grey, nil, nil)
+highlight("FloatBorder", dark_grey, black, c_grey, c_black, nil, nil)
highlight("TabLine", black, grey, c_black, c_grey, nil, nil)
highlight("TabLineFill", grey, black, c_grey, c_black, nil, nil)
highlight("TablineSel", grey, black, c_grey, c_white, bold, nil)