nvim: Fix diagnostic symbol display
Fixed the codepoints for diagnostic display for the new nerd font codepoints.
This commit is contained in:
parent
676c5b2094
commit
a5c5480105
2 changed files with 21 additions and 21 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue