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",
|
"akinsho/bufferline.nvim",
|
||||||
tag = "*",
|
tag = "*",
|
||||||
requires = "nvim-tree/nvim-web-devicons",
|
requires = "nvim-tree/nvim-web-devicons",
|
||||||
|
|
||||||
|
|
||||||
-- vim.opt.termguicolors = true
|
|
||||||
config = function()
|
config = function()
|
||||||
-- require("bufferline").setup{}
|
|
||||||
require("mzpx.plug.bufferline")
|
require("mzpx.plug.bufferline")
|
||||||
end
|
end
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- --------------------------------------------------------------------------------------------
|
-- --------------------------------------------------------------------------------------------
|
||||||
@@ -185,11 +180,13 @@ return packer.startup(function(use)
|
|||||||
-- --------------------------------------------------------------------------------------------
|
-- --------------------------------------------------------------------------------------------
|
||||||
-- nvim-treesitter - mz
|
-- nvim-treesitter - mz
|
||||||
-- --------------------------------------------------------------------------------------------
|
-- --------------------------------------------------------------------------------------------
|
||||||
-- use {
|
use {
|
||||||
-- 'nvim-treesitter/nvim-treesitter',
|
'nvim-treesitter/nvim-treesitter',
|
||||||
-- branch = "master",
|
run = function()
|
||||||
-- run = ':TSUpdate', -- This automatically updates parsers on install/update
|
local ts_update = require('nvim-treesitter.install').update({ with_sync = true })
|
||||||
-- }
|
ts_update()
|
||||||
|
end,
|
||||||
|
}
|
||||||
|
|
||||||
-- --------------------------------------------------------------
|
-- --------------------------------------------------------------
|
||||||
-- render-markdown - mz
|
-- render-markdown - mz
|
||||||
@@ -226,14 +223,21 @@ return packer.startup(function(use)
|
|||||||
-- maximizer - 2026-05-31
|
-- maximizer - 2026-05-31
|
||||||
-- --------------------------------------------------------------------------------------------
|
-- --------------------------------------------------------------------------------------------
|
||||||
use {
|
use {
|
||||||
"0x00-ketsu/maximizer.nvim",
|
"0x00-ketsu/maximizer.nvim",
|
||||||
config = function()
|
config = function()
|
||||||
require("maximizer").setup {
|
require("maximizer").setup {
|
||||||
-- your configuration comes here
|
-- your configuration comes here
|
||||||
-- or leave it empty to use the default settings
|
-- or leave it empty to use the default settings
|
||||||
-- refer to the configuration section below
|
-- 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, "Comment", { fg = "#808080", italic = false })
|
||||||
vim.api.nvim_set_hl( 0, "Function", { fg = "#82aaff", 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, "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,
|
end,
|
||||||
|
|
||||||
group = custom_highlight,
|
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 = {
|
highlight = {
|
||||||
enable = true, -- false will disable the whole extension
|
enable = true, -- false will disable the whole extension
|
||||||
additional_vim_regex_highlighting = false,
|
disable = { "" }
|
||||||
|
additional_vim_regex_highlighting = ture,
|
||||||
},
|
},
|
||||||
|
|
||||||
indent = {
|
indent = {
|
||||||
|
|||||||
@@ -4,3 +4,8 @@ after switching to another branch, the following folders must be deleted
|
|||||||
- delete `%XDG_CACHE_HOME%\nvim` folder
|
- delete `%XDG_CACHE_HOME%\nvim` folder
|
||||||
- delete `%XDG_CONFIG_HOME%\nvim\plugin` folder
|
- delete `%XDG_CONFIG_HOME%\nvim\plugin` folder
|
||||||
- delete `%XDG_DATA_HOME%\nvim-data` folder
|
- delete `%XDG_DATA_HOME%\nvim-data` folder
|
||||||
|
|
||||||
|
## For test
|
||||||
|
```sh
|
||||||
|
ls /etc/ppp/
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user