mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
add(nvim): gutter symbols
This commit is contained in:
parent
a201929c2f
commit
4d9782becc
2 changed files with 7 additions and 2 deletions
|
|
@ -33,6 +33,13 @@ local on_attach = function(client, bufnr)
|
|||
vim.keymap.set('n', '<leader>f', function() vim.lsp.buf.format { async = true } end, bufopts)
|
||||
end
|
||||
|
||||
-- Gutter symbols setup
|
||||
vim.fn.sign_define("DiagnosticSignError", { text = '' , texthl = "DiagnosticSignError", numhl = "DiagnosticSignError" })
|
||||
vim.fn.sign_define("DiagnosticSignWarn", { text = '', texthl = "DiagnosticSignWarn", numhl = "DiagnosticSignWarn" })
|
||||
vim.fn.sign_define("DiagnosticSignHint", { text = '·', texthl = "DiagnosticSignHint", numhl = "DiagnosticSignHint" })
|
||||
vim.fn.sign_define("DiagnosticSignInfo", { text = '·' , texthl = "DiagnosticSignInfo", numhl = "DiagnosticSignInfo" })
|
||||
|
||||
|
||||
-- Border setup
|
||||
local border = {
|
||||
{ "╭", "FloatBorder" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue