Nvim : Add Colorizer plugin.

This commit is contained in:
Dmitry Voronin 2024-04-04 04:02:29 +03:00
parent d4100c0e3f
commit 8cfe3cdd94
4 changed files with 27 additions and 0 deletions

View file

@ -447,6 +447,22 @@
"type": "github" "type": "github"
} }
}, },
"nvimColorizer": {
"flake": false,
"locked": {
"lastModified": 1711957602,
"narHash": "sha256-cDgq4grIdRtiPOOh0gzDXLVj/PEOl+ybuGP6mWAHHvw=",
"owner": "brenoprata10",
"repo": "nvim-highlight-colors",
"rev": "ca3731eab0cff414722a5c9c43a3ba06577cb250",
"type": "github"
},
"original": {
"owner": "brenoprata10",
"repo": "nvim-highlight-colors",
"type": "github"
}
},
"nvimDevicons": { "nvimDevicons": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -696,6 +712,7 @@
"nvimAutoclose": "nvimAutoclose", "nvimAutoclose": "nvimAutoclose",
"nvimBufferline": "nvimBufferline", "nvimBufferline": "nvimBufferline",
"nvimCloseBuffers": "nvimCloseBuffers", "nvimCloseBuffers": "nvimCloseBuffers",
"nvimColorizer": "nvimColorizer",
"nvimDevicons": "nvimDevicons", "nvimDevicons": "nvimDevicons",
"nvimGitsigns": "nvimGitsigns", "nvimGitsigns": "nvimGitsigns",
"nvimGruvboxMaterial": "nvimGruvboxMaterial", "nvimGruvboxMaterial": "nvimGruvboxMaterial",

View file

@ -32,6 +32,10 @@
url = "github:kazhala/close-buffers.nvim"; url = "github:kazhala/close-buffers.nvim";
flake = false; flake = false;
}; };
nvimColorizer = {
url = "github:brenoprata10/nvim-highlight-colors";
flake = false;
};
nvimDevicons = { nvimDevicons = {
url = "github:nvim-tree/nvim-web-devicons"; url = "github:nvim-tree/nvim-web-devicons";
flake = false; flake = false;

View file

@ -17,6 +17,7 @@ in {
"${inputs.nvimAutoclose}" "${inputs.nvimAutoclose}"
"${inputs.nvimBufferline}" "${inputs.nvimBufferline}"
"${inputs.nvimCloseBuffers}" "${inputs.nvimCloseBuffers}"
"${inputs.nvimColorizer}"
"${inputs.nvimDevicons}" "${inputs.nvimDevicons}"
"${inputs.nvimGitsigns}" "${inputs.nvimGitsigns}"
"${inputs.nvimGruvboxMaterial}" "${inputs.nvimGruvboxMaterial}"
@ -55,6 +56,7 @@ in {
"plugin/Treesitter.lua" "plugin/Treesitter.lua"
"plugin/Fold.lua" "plugin/Fold.lua"
"plugin/Ollama.lua" "plugin/Ollama.lua"
"plugin/Colorizer.lua"
"plugin/lsp/Haskell.lua" "plugin/lsp/Haskell.lua"
"plugin/lsp/Rust.lua" "plugin/lsp/Rust.lua"
"plugin/lsp/Tex.lua" "plugin/lsp/Tex.lua"

View file

@ -0,0 +1,4 @@
-- Ensure termguicolors is enabled if not already
vim.opt.termguicolors = true
require('nvim-highlight-colors').setup({})