1
0
Fork 0

nvim: add colorizer

This commit is contained in:
tastytea 2022-09-05 19:47:22 +02:00
parent 59fc0eae47
commit b3a91110f0
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
2 changed files with 11 additions and 0 deletions

View File

@ -47,3 +47,13 @@ require("todo-comments").setup({
})
vim.g.vimtex_compiler_latexmk_engines = { _ = '-xelatex' }
require('colorizer').setup({
filetypes = { '*' },
user_default_options = {
mode = 'virtualtext',
rgb_fn = true,
hsl_fn = true,
RRGGBBAA = true,
}
})

View File

@ -45,6 +45,7 @@ require('packer').startup({ function(use)
tag = '*',
cond = vim.fn.executable('xelatex') == 1
}
use { 'https://github.com/NvChad/nvim-colorizer.lua' }
-- completion
use {