colorize snip
This commit is contained in:
@@ -10,10 +10,13 @@
|
||||
lvim.keys.normal_mode["<F2>"] = ":NvimTreeToggle<CR>"
|
||||
lvim.keys.normal_mode["q"] = ":bd<CR>"
|
||||
lvim.keys.normal_mode["Q"] = ":qa!<CR>"
|
||||
lvim.keys.normal_mode["vs"] = ":split<CR>"
|
||||
lvim.keys.normal_mode["vv"] = ":vsplit<CR>"
|
||||
|
||||
lvim.keys.normal_mode["\\["] = ":BufferLineCyclePrev<CR>"
|
||||
lvim.keys.normal_mode["\\]"] = ":BufferLineCycleNext<CR>"
|
||||
|
||||
|
||||
-- lvim.builtin.which_key.mappings["\["] = ":BufferLineCyclePrev<CR>"
|
||||
-- nmap <leader>[ :BufferLineCyclePrev<CR>
|
||||
-- nmap <leader>] :BufferLineCycleNext<CR>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
lvim.builtin.telescope.defaults.file_ignore_patterns = { "public/deps/" }
|
||||
lvim.builtin.telescope.defaults.path_display = {}
|
||||
lvim.format_on_save.enabled = true
|
||||
|
||||
|
||||
|
||||
@@ -4,6 +4,20 @@ lvim.plugins = {
|
||||
config = function()
|
||||
end,
|
||||
},
|
||||
{
|
||||
"norcalli/nvim-colorizer.lua",
|
||||
config = function()
|
||||
require("colorizer").setup({ "css", "scss", "html", "javascript", "vue", "ts" }, {
|
||||
RGB = true, -- #RGB hex codes
|
||||
RRGGBB = true, -- #RRGGBB hex codes
|
||||
RRGGBBAA = true, -- #RRGGBBAA hex codes
|
||||
rgb_fn = true, -- CSS rgb() and rgba() functions
|
||||
hsl_fn = true, -- CSS hsl() and hsla() functions
|
||||
css = true, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
|
||||
css_fn = true, -- Enable all CSS *functions*: rgb_fn, hsl_fn
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"okuuva/auto-save.nvim",
|
||||
config = function()
|
||||
|
||||
Reference in New Issue
Block a user