diff options
author | justanothercatgirl <sotov2070@gmail.com> | 2024-02-26 18:00:03 +0300 |
---|---|---|
committer | justanothercatgirl <sotov2070@gmail.com> | 2024-02-26 18:00:03 +0300 |
commit | 00a7bf1bd132abe1491b96e8f0c37ae1b8ec7138 (patch) | |
tree | 3824d99a5a2ce5063498e4a675b5511bc5011689 /.config/nvim/lua/user/lsp/common.lua | |
parent | e72256be161a60a0671b2ed2868f4d3e99559645 (diff) |
added transparency and opacity rules
Diffstat (limited to '.config/nvim/lua/user/lsp/common.lua')
-rw-r--r-- | .config/nvim/lua/user/lsp/common.lua | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/.config/nvim/lua/user/lsp/common.lua b/.config/nvim/lua/user/lsp/common.lua index 1b1920c..91a663c 100644 --- a/.config/nvim/lua/user/lsp/common.lua +++ b/.config/nvim/lua/user/lsp/common.lua @@ -3,13 +3,14 @@ -- nvim diagnostics setup local define_sign = function(options) - vim.fn.sign_define(options.name, { texthl = options.name, text = options.textm, numhl = '' }) + vim.fn.sign_define(options.name, { texthl = options.name, text = options.text, numhl = options.hl }) end -define_sign({name = "DiagnosticSignError", text = ''}) -define_sign({name = "DiagnosticSignWarn", text = ''}) -define_sign({name = "DiagnosticSignHint", text = ''}) -define_sign({name = "DiagnosticSignInfo", text = ''}) +define_sign({name = "DiagnosticSignError", text = '', hl = 'ErrorMsg'}) +define_sign({name = "DiagnosticSignWarn", text = '', hl = 'IncSearch'}) +define_sign({name = "DiagnosticSignHint", text = '', hl = 'Search'}) +-- define_sign({name = "DiagnosticSignInfo", text = ''}) +vim.fn.sign_define("DiagnosticSignInfo", { texthl="Ignore", text = "", numhl = 'TermCursor' }) vim.diagnostic.config{ virtual_text = true, |