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 2a993c4d36
commit 4c1fc5ac21
Signed by: Marty
GPG Key ID: EDBF2ED917B2EF6A
2 changed files with 21 additions and 21 deletions

View File

@ -7,31 +7,31 @@ local has_words_before = function()
end
local kind_icons = {
Text = "",
Method = "",
Function = "",
Text = "",
Method = "",
Function = "󰊕",
Constructor = "",
Field = "",
Variable = "",
Class = "",
Field = "",
Variable = "",
Class = "",
Interface = "",
Module = "",
Property = "",
Module = "",
Property = "",
Unit = "",
Value = "",
Enum = "",
Keyword = "",
Snippet = "",
Color = "",
File = "",
Value = "V",
Enum = "",
Keyword = "",
Snippet = "",
Color = "",
File = "",
Reference = "",
Folder = "",
EnumMember = "",
Constant = "",
Folder = "",
EnumMember = "",
Constant = "",
Struct = "",
Event = "",
Operator = "",
TypeParameter = "",
Operator = "",
TypeParameter = "",
}
cmp.setup({

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,