mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
format (#264)
This commit is contained in:
parent
465b7dc623
commit
8d9c83d145
1 changed files with 8 additions and 7 deletions
|
|
@ -410,9 +410,10 @@ local function set_highlights()
|
||||||
["@lsp.type.interface"] = { link = "@interface" },
|
["@lsp.type.interface"] = { link = "@interface" },
|
||||||
["@lsp.type.keyword"] = { link = "@keyword" },
|
["@lsp.type.keyword"] = { link = "@keyword" },
|
||||||
["@lsp.type.namespace"] = { link = "@namespace" },
|
["@lsp.type.namespace"] = { link = "@namespace" },
|
||||||
|
["@lsp.type.namespace.python"] = { link = "@variable" },
|
||||||
["@lsp.type.parameter"] = { link = "@parameter" },
|
["@lsp.type.parameter"] = { link = "@parameter" },
|
||||||
["@lsp.type.property"] = { link = "@property" },
|
["@lsp.type.property"] = { link = "@property" },
|
||||||
["@lsp.type.variable"] = {}, --defer to treesitter for regular variables
|
["@lsp.type.variable"] = {}, -- defer to treesitter for regular variables
|
||||||
["@lsp.type.variable.svelte"] = { link = "@variable" },
|
["@lsp.type.variable.svelte"] = { link = "@variable" },
|
||||||
["@lsp.typemod.function.defaultLibrary"] = { link = "@function.builtin" },
|
["@lsp.typemod.function.defaultLibrary"] = { link = "@function.builtin" },
|
||||||
["@lsp.typemod.operator.injected"] = { link = "@operator" },
|
["@lsp.typemod.operator.injected"] = { link = "@operator" },
|
||||||
|
|
@ -420,7 +421,6 @@ local function set_highlights()
|
||||||
["@lsp.typemod.variable.constant"] = { link = "@constant" },
|
["@lsp.typemod.variable.constant"] = { link = "@constant" },
|
||||||
["@lsp.typemod.variable.defaultLibrary"] = { link = "@variable.builtin" },
|
["@lsp.typemod.variable.defaultLibrary"] = { link = "@variable.builtin" },
|
||||||
["@lsp.typemod.variable.injected"] = { link = "@variable" },
|
["@lsp.typemod.variable.injected"] = { link = "@variable" },
|
||||||
["@lsp.type.namespace.python"] = { link = "@variable" },
|
|
||||||
|
|
||||||
--- Plugins
|
--- Plugins
|
||||||
-- romgrk/barbar.nvim
|
-- romgrk/barbar.nvim
|
||||||
|
|
@ -778,7 +778,12 @@ local function set_highlights()
|
||||||
|
|
||||||
-- nvim-treesitter/nvim-treesitter-context
|
-- nvim-treesitter/nvim-treesitter-context
|
||||||
TreesitterContext = { bg = palette.overlay },
|
TreesitterContext = { bg = palette.overlay },
|
||||||
TreesitterContextLineNumber = { fg = palette.rose, bg = palette.overlay }
|
TreesitterContextLineNumber = { fg = palette.rose, bg = palette.overlay },
|
||||||
|
|
||||||
|
-- RRethy/vim-illuminate
|
||||||
|
IlluminatedWordRead = { link = "LspReferenceRead" },
|
||||||
|
IlluminatedWordText = { link = "LspReferenceText" },
|
||||||
|
IlluminatedWordWrite = { link = "LspReferenceWrite" },
|
||||||
}
|
}
|
||||||
local transparency_highlights = {
|
local transparency_highlights = {
|
||||||
DiagnosticVirtualTextError = { fg = groups.error },
|
DiagnosticVirtualTextError = { fg = groups.error },
|
||||||
|
|
@ -818,10 +823,6 @@ local function set_highlights()
|
||||||
|
|
||||||
MiniPickBorderText = { bg = "NONE" },
|
MiniPickBorderText = { bg = "NONE" },
|
||||||
MiniPickPrompt = { bg = "NONE", bold = styles.bold },
|
MiniPickPrompt = { bg = "NONE", bold = styles.bold },
|
||||||
|
|
||||||
IlluminatedWordText = { link = "LspReferenceText" },
|
|
||||||
IlluminatedWordRead = { link = "LspReferenceRead" },
|
|
||||||
IlluminatedWordWrite = { link = "LspReferenceWrite" },
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if config.options.enable.legacy_highlights then
|
if config.options.enable.legacy_highlights then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue