Cleanup the config and colorizer added
This commit is contained in:
+18
-14
@@ -164,14 +164,9 @@ return packer.startup(function(use)
|
||||
"akinsho/bufferline.nvim",
|
||||
tag = "*",
|
||||
requires = "nvim-tree/nvim-web-devicons",
|
||||
|
||||
|
||||
-- vim.opt.termguicolors = true
|
||||
config = function()
|
||||
-- require("bufferline").setup{}
|
||||
require("mzpx.plug.bufferline")
|
||||
end
|
||||
|
||||
}
|
||||
|
||||
-- --------------------------------------------------------------------------------------------
|
||||
@@ -185,11 +180,13 @@ return packer.startup(function(use)
|
||||
-- --------------------------------------------------------------------------------------------
|
||||
-- nvim-treesitter - mz
|
||||
-- --------------------------------------------------------------------------------------------
|
||||
-- use {
|
||||
-- 'nvim-treesitter/nvim-treesitter',
|
||||
-- branch = "master",
|
||||
-- run = ':TSUpdate', -- This automatically updates parsers on install/update
|
||||
-- }
|
||||
use {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
run = function()
|
||||
local ts_update = require('nvim-treesitter.install').update({ with_sync = true })
|
||||
ts_update()
|
||||
end,
|
||||
}
|
||||
|
||||
-- --------------------------------------------------------------
|
||||
-- render-markdown - mz
|
||||
@@ -226,14 +223,21 @@ return packer.startup(function(use)
|
||||
-- maximizer - 2026-05-31
|
||||
-- --------------------------------------------------------------------------------------------
|
||||
use {
|
||||
"0x00-ketsu/maximizer.nvim",
|
||||
config = function()
|
||||
"0x00-ketsu/maximizer.nvim",
|
||||
config = function()
|
||||
require("maximizer").setup {
|
||||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
-- refer to the configuration section below
|
||||
}
|
||||
end
|
||||
}
|
||||
end
|
||||
}
|
||||
|
||||
use {
|
||||
"norcalli/nvim-colorizer.lua",
|
||||
config = function()
|
||||
require( "mzpx.plug.nvim-colorizer" )
|
||||
end
|
||||
}
|
||||
|
||||
-- --------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -12,7 +12,8 @@ local custom_highlight =
|
||||
vim.api.nvim_set_hl( 0, "Comment", { fg = "#808080", italic = false })
|
||||
vim.api.nvim_set_hl( 0, "Function", { fg = "#82aaff", italic = false })
|
||||
vim.api.nvim_set_hl( 0, "CursorLineNr", { fg = "#82aaff", italic = false })
|
||||
vim.api.nvim_set_hl( 0, "Delimiter", { fg = "#ff0000", italic = false })
|
||||
-- vim.api.nvim_set_hl( 0, "Delimiter", { fg = "#ff0000", italic = false })
|
||||
vim.api.nvim_set_hl( 0, "Delimiter", { fg = "#aaaaaa", italic = false })
|
||||
end,
|
||||
|
||||
group = custom_highlight,
|
||||
|
||||
Executable
+17
@@ -0,0 +1,17 @@
|
||||
|
||||
require'colorizer'.setup(
|
||||
{'*';},
|
||||
{
|
||||
RGB = true; -- #RGB hex codes
|
||||
RRGGBB = true; -- #RRGGBB hex codes
|
||||
names = true; -- "Name" codes like Blue
|
||||
RRGGBBAA = false; -- #RRGGBBAA hex codes
|
||||
rgb_fn = false; -- CSS rgb() and rgba() functions
|
||||
hsl_fn = false; -- CSS hsl() and hsla() functions
|
||||
css = false; -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
|
||||
css_fn = false; -- Enable all CSS *functions*: rgb_fn, hsl_fn
|
||||
-- Available modes: foreground, background
|
||||
mode = 'background'; -- Set the display mode.
|
||||
}
|
||||
)
|
||||
|
||||
@@ -16,7 +16,8 @@ require('nvim-treesitter.configs').setup {
|
||||
|
||||
highlight = {
|
||||
enable = true, -- false will disable the whole extension
|
||||
additional_vim_regex_highlighting = false,
|
||||
disable = { "" }
|
||||
additional_vim_regex_highlighting = ture,
|
||||
},
|
||||
|
||||
indent = {
|
||||
|
||||
Reference in New Issue
Block a user