feat: add border for diagnostic

pull/99/head
fm39hz-workstation 2024-05-16 11:21:17 +07:00 committed by fm39hz-laptop
parent 9e2fa28118
commit 256cdcd932
1 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,14 @@
-- Options are automatically loaded before lazy.nvim startup
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
-- Add any additional options here
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {
border = "rounded",
})
vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, {
border = "rounded",
})
vim.diagnostic.config({
float = {
border = "rounded",
},
})