changes colors and icons back to working state
This commit is contained in:
parent
7e5c846bc4
commit
b21a66b538
2 changed files with 12 additions and 14 deletions
|
@ -4,7 +4,7 @@ return {
|
|||
-- event = "BufReadPre",
|
||||
config = function()
|
||||
require('lspconfig.ui.windows').default_options.border = 'rounded'
|
||||
vim.api.nvim_set_hl(0, "LspInfoBorder", { bg = none, fg = "#d4be98" })
|
||||
vim.api.nvim_set_hl(0, "LspInfoBorder", { bg = none, fg = "#9da9a0" })
|
||||
local opts = { noremap = true, silent = true }
|
||||
vim.keymap.set('n', '<space>cd', vim.diagnostic.open_float, opts)
|
||||
vim.keymap.set('n', '<space>cl', "<cmd>LspInfo<cr>", opts)
|
||||
|
@ -38,9 +38,7 @@ return {
|
|||
vim.keymap.set('v', '<space>cf', function() vim.lsp.buf.format { async = true } end, bufopts)
|
||||
end
|
||||
|
||||
local signs = { Error = "✘ ", Warn = " ", Hint = " ", Info = " " }
|
||||
-- local signs = { Error = "✘ ", Warn = " ", Hint = " ", Info = " " }
|
||||
-- local signs = { Error = "✘ ", Warn = "⚠ ", Hint = " ", Info = " " } -- Unicode
|
||||
local signs = { Error = " ", Warn = " ", Hint = " ", Info = " " }
|
||||
for type, icon in pairs(signs) do
|
||||
local hl = "DiagnosticSign" .. type
|
||||
vim.fn.sign_define(hl, { text = icon, texthl = hl })
|
||||
|
@ -63,7 +61,7 @@ return {
|
|||
virtual_text = {
|
||||
prefix = '●', -- Could be '●', '■', 'x', '▎'
|
||||
},
|
||||
update_in_insert = true
|
||||
update_in_insert = true,
|
||||
})
|
||||
|
||||
-- LSP settings (for overriding per client)
|
||||
|
@ -83,7 +81,7 @@ return {
|
|||
icons = {
|
||||
package_installed = "✔",
|
||||
package_pending = "➜",
|
||||
package_uninstalled = "✘"
|
||||
package_uninstalled = "✗"
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
@ -8,14 +8,14 @@ return {
|
|||
"rafamadriz/friendly-snippets",
|
||||
config = function()
|
||||
require("luasnip.loaders.from_vscode").lazy_load()
|
||||
vim.api.nvim_set_hl(0, "PmenuSel", { fg = 'NONE', bg = '#141617' })
|
||||
vim.api.nvim_set_hl(0, "Pmenu", { fg = 'NONE', bg = '#1d2021' })
|
||||
vim.api.nvim_set_hl(0, "CmpItemMenu", { fg = 'NONE', bg = '#141617' })
|
||||
vim.api.nvim_set_hl(0, "CmpItemMenuDefault", { fg = 'NONE', bg = '#141617' })
|
||||
vim.api.nvim_set_hl(0, "CmpItemKindFunction", { fg = '#d3869b', bg = 'NONE', italic = true })
|
||||
vim.api.nvim_set_hl(0, "CmpItemKindSnippet", { fg = '#d8a657', bg = 'NONE', italic = true })
|
||||
vim.api.nvim_set_hl(0, "CmpItemKindText", { fg = '#ddc7a1', bg = 'NONE', italic = true })
|
||||
vim.api.nvim_set_hl(0, "CmpItemKindVariable", { fg = '#7daea3', bg = 'NONE', italic = true })
|
||||
vim.api.nvim_set_hl(0, "PmenuSel", { fg = 'NONE', bg = '#272e33' })
|
||||
vim.api.nvim_set_hl(0, "Pmenu", { fg = 'NONE', bg = '#1e2326' })
|
||||
vim.api.nvim_set_hl(0, "CmpItemMenu", { fg = 'NONE', bg = '#272e33' })
|
||||
vim.api.nvim_set_hl(0, "CmpItemMenuDefault", { fg = 'NONE', bg = '#272e33' })
|
||||
vim.api.nvim_set_hl(0, "CmpItemKindFunction", { fg = '#d699b6', bg = 'NONE', italic = true })
|
||||
vim.api.nvim_set_hl(0, "CmpItemKindSnippet", { fg = '#dbbc7f', bg = 'NONE', italic = true })
|
||||
vim.api.nvim_set_hl(0, "CmpItemKindText", { fg = '#9da9a0', bg = 'NONE', italic = true })
|
||||
vim.api.nvim_set_hl(0, "CmpItemKindVariable", { fg = '#7fbbb3', bg = 'NONE', italic = true })
|
||||
end,
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue