nvim: Fix diagnostic symbol display

Fixed the codepoints for diagnostic display for the new
nerd font codepoints.
This commit is contained in:
Marty Oehme 2023-06-22 12:13:47 +02:00
parent 676c5b2094
commit a5c5480105
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
2 changed files with 21 additions and 21 deletions

View file

@ -2,7 +2,7 @@ vim.diagnostic.config({ virtual_text = true })
vim.fn.sign_define("DiagnosticSignError", { text = "", texthl = "DiagnosticSignError" })
vim.fn.sign_define("DiagnosticSignWarn", { text = "", texthl = "DiagnosticSignWarn" })
vim.fn.sign_define("DiagnosticSignInfo", { text = "", texthl = "DiagnosticSignInfo" })
vim.fn.sign_define("DiagnosticSignHint", { text = "", texthl = "DiagnosticSignHint" })
vim.fn.sign_define("DiagnosticSignHint", { text = "", texthl = "DiagnosticSignHint" })
local lsp = require("lsp-setup")
@ -128,7 +128,7 @@ local lspconfig = require("lspconfig")
lspconfig.pyright.setup({
on_attach = function(client, bufnr)
on_attach(client, bufnr)
local python_path, msg = require("util").get_python_venv(client.config.root_dir)
local python_path, _ = require("util").get_python_venv(client.config.root_dir)
vim.notify_once(string.format("[PYTHON VENV]\n%s", python_path))
client.config.settings.python.pythonPath = python_path
end,