update indent highlight, fix python lsp setup
This commit is contained in:
parent
5046d62fcc
commit
bf1f88b7a4
3 changed files with 24 additions and 14 deletions
|
@ -8,7 +8,6 @@ function init()
|
|||
"Yellow",
|
||||
"Red",
|
||||
}
|
||||
|
||||
local hooks = require "ibl.hooks"
|
||||
-- create the highlight groups in the highlight setup hook, so they are reset
|
||||
-- every time the colorscheme changes
|
||||
|
@ -22,7 +21,10 @@ function init()
|
|||
vim.api.nvim_set_hl(0, "Cyan", { fg = "#56B6C2" })
|
||||
end)
|
||||
|
||||
require("ibl").setup { indent = { highlight = highlight } }
|
||||
vim.g.rainbow_delimiters = { highlight = highlight }
|
||||
require("ibl").setup { scope = { highlight = highlight } }
|
||||
|
||||
hooks.register(hooks.type.SCOPE_HIGHLIGHT, hooks.builtin.scope_highlight_from_extmark)
|
||||
end
|
||||
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue