Tol.nvim is a complete rework of my Tol theme for VS Code, with more consistent highlighting across languages. It also has better separation of UI and syntax palettes, so it's easier to distinguish tooling feedback from code. Tol believes that punctuation and delimiters are first-class citizens—we hope you do, too.
As always, credit to Paul Tol for the base colors and inspiration.
Rainbow delimiters and Lualine are used in the screenshot.
- Blink
- CoC
- Cmp
- FZF Lua
- Flash
- Gitsigns
- Indent Blankline
- Leap
- LSP Diagnostics
- Lualine
- Notify
- Rainbow Delimiters
- Snacks
- Telescope
- Treesitter
- Trouble
- Yanky
Your favorite plugin might not be supported yet. Feel free to submit a PR.
-- lazy.nvim
require("lazy").setup({
{
"dustypomerleau/tol.nvim",
lazy = false, -- load the colorscheme at startup
priority = 1000, -- load colorscheme first
config = true,
version = "*", -- (optional) pin to release
},
})
Enable the Lualine theme:
require("lualine").setup({ options = { theme = "tol" }})
Example settings for Rainbow Delimiters (3 levels are provided):
local rainbow_delimiters = require("rainbow-delimiters")
vim.g.rainbow_delimiters = {
strategy = { [""] = rainbow_delimiters.strategy["global"] },
query = { [""] = "rainbow-delimiters" },
highlight = {
"RainbowDelimiterRed",
"RainbowDelimiterYellow",
"RainbowDelimiterBlue",
}
}
Example settings for Snacks.nvim indent guides:
{
"folke/snacks.nvim",
version = "*",
priority = 1000,
lazy = false,
opts = {
indent = {
enabled = true,
only_scope = true,
priority = 1,
hl = { "SnacksIndent" },
animate = { enabled = false },
scope = {
enabled = true,
priority = 200,
hl = { "SnacksIndentRed", "SnacksIndentYellow", "SnacksIndentBlue" },
},
},
},
}
Example settings for Indent Blankline indent guides:
-- example configuration using lazy.nvim
-- uses rainbow colors only when the scope is active
{
"lukas-reineke/indent-blankline.nvim",
version = "*",
lazy = false,
config = function()
require("ibl").setup({
indent = {
-- use a lighter weight for the indent guide
char = "│", -- box drawings light vertical (U+2502)
highlight = "LineNr",
},
scope = {
show_start = false, -- don't underline the start of the scope
highlight = { "RainbowRed", "RainbowYellow", "RainbowBlue", },
},
})
end,
},
If you use Indent Blankline and you frequently change color schemes, you will need to set up hooks, as described in the Indent Blankline README.