Enable nerd fonts, add colorizer plugin

This commit is contained in:
Le Viet Dat 2024-04-24 02:12:21 +00:00
parent 8df3deb6fe
commit ee595958cb
1 changed files with 15 additions and 1 deletions

View File

@ -91,7 +91,7 @@ vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
-- Set to true if you have a Nerd Font installed and selected in the terminal
vim.g.have_nerd_font = false
vim.g.have_nerd_font = true
-- [[ Setting options ]]
-- See `:help vim.opt`
@ -226,6 +226,20 @@ vim.opt.rtp:prepend(lazypath)
-- NOTE: Here is where you install your plugins.
require('lazy').setup({
-- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link).
{
'NvChad/nvim-colorizer.lua',
opts = {
user_default_options = {
mode = 'background',
RGB = true,
RRGGBB = true,
RRGGBBAA = true,
names = false,
css = true,
},
},
},
'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
-- NOTE: Plugins can also be added by using a table,