all repos

init.lua @ 0ae8469331c9bc9d411d622a239e0492a5214e0a

my nvim config
1 files changed, 8 insertions(+), 8 deletions(-)
chore(diagnostic): typo
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2024-10-20 23:39:21 +0300
Parent: 7648c35
M lua/core/diagnostic.lua

@@ -1,6 +1,6 @@

-local diagnistic = {} +local diagnostic = {} -diagnistic.border = { +diagnostic.border = { { "", "FloatBorder" }, { "", "FloatBorder" }, { "", "FloatBorder" },

@@ -11,7 +11,7 @@ { "", "FloatBorder" },

{ "", "FloatBorder" }, } -diagnistic.diagnostic = { +diagnostic.diagnostic = { virtual_text = true, update_in_insert = true, underline = true,

@@ -27,16 +27,16 @@ },

float = { focusable = true, style = "minimal", - border = diagnistic.border, + border = diagnostic.border, source = "always", header = "", prefix = "", }, } -function diagnistic.setup() - vim.diagnostic.config(diagnistic.diagnostic) - for _, sign in ipairs(diagnistic.diagnostic.signs.active) do +function diagnostic.setup() + vim.diagnostic.config(diagnostic.diagnostic) + for _, sign in ipairs(diagnostic.diagnostic.signs.active) do vim.fn.sign_define(sign.name, { texthl = sign.name, text = sign.text,

@@ -45,4 +45,4 @@ })

end end -return diagnistic +return diagnostic