aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-03-29 11:36:01 +0100
committerpml68 <contact@pml68.dev>2025-03-29 11:36:01 +0100
commitb5cd3186dbd3699b21c4920dc49512b3774d0867 (patch)
treebd3f0bd4807a7ea2b0b6a381b45f772b04596294
parentfeat: change keymaps (diff)
downloadnvim-b5cd3186dbd3699b21c4920dc49512b3774d0867.tar.gz
feat: update to 0.11 [skip ci]
-rw-r--r--lua/pml68/configs/lspconfig.lua4
-rw-r--r--lua/pml68/settings.lua4
2 files changed, 4 insertions, 4 deletions
diff --git a/lua/pml68/configs/lspconfig.lua b/lua/pml68/configs/lspconfig.lua
index ffb31ae..0460b4c 100644
--- a/lua/pml68/configs/lspconfig.lua
+++ b/lua/pml68/configs/lspconfig.lua
@@ -4,10 +4,6 @@ local capabilities = vim.tbl_deep_extend("force",
)
local lspconfig = require("lspconfig")
-vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {
- border = "rounded",
-})
-
local servers = {
-- "asm_lsp",
"html",
diff --git a/lua/pml68/settings.lua b/lua/pml68/settings.lua
index d56134b..13e0322 100644
--- a/lua/pml68/settings.lua
+++ b/lua/pml68/settings.lua
@@ -5,6 +5,8 @@ vim.o.conceallevel = 2
vim.o.laststatus = 3
+vim.o.winborder = "rounded"
+
local function branch_name()
local branch = vim.fn.system("git branch --show-current 2> /dev/null | tr -d '\n'")
if branch ~= "" then
@@ -14,6 +16,8 @@ local function branch_name()
end
end
+vim.diagnostic.config({ virtual_lines = true })
+
local function diagnostics()
local warns = vim.diagnostic.get(nil, { severity = vim.diagnostic.severity.WARN })
local errors = vim.diagnostic.get(nil, { severity = vim.diagnostic.severity.ERROR })