Enable nerd fonts, add colorizer plugin
This commit is contained in:
parent
8df3deb6fe
commit
ee595958cb
16
init.lua
16
init.lua
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue