added nvim-colorizer.lua to neovim

This commit is contained in:
Nicolai Van der Storm 2023-10-18 09:51:50 +02:00
parent affe45d359
commit d5ec01da3f
Signed by: NicolaiVdS
GPG Key ID: CA53B34914EFD59B
3 changed files with 21 additions and 9 deletions

View File

@ -25,11 +25,11 @@
]
},
"locked": {
"lastModified": 1697531492,
"narHash": "sha256-v813jggnyO+wLMKvbkeOruZCh6wubVZEdfxKqJS4bq8=",
"lastModified": 1697611555,
"narHash": "sha256-8nYMduRQfGSQJr2cDMyodsuGlRcJAy0Ko8K4KkjurP8=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "7a46e6cb3ca02a478bdafc53c0ac89da6efc050c",
"rev": "05649393ac1f34980a5cf6a6e89de77626c9182b",
"type": "github"
},
"original": {
@ -47,11 +47,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1697540776,
"narHash": "sha256-Jr0kMlZfCmx3JLL4ZvfonP3GRZdLy+NdiHeeth0rN7o=",
"lastModified": 1697569807,
"narHash": "sha256-NCyGgz4ppDf7uEfBrR7LYQI4BH9umOeUrxK25LyEdo4=",
"owner": "hyprwm",
"repo": "Hyprland",
"rev": "20e7ccd48033dcacc233b2a2f46d385049bf299b",
"rev": "a0b675ec9e57af8bc631fc8cc54d062b58669a9f",
"type": "github"
},
"original": {
@ -137,11 +137,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1697059129,
"narHash": "sha256-9NJcFF9CEYPvHJ5ckE8kvINvI84SZZ87PvqMbH6pro0=",
"lastModified": 1697456312,
"narHash": "sha256-roiSnrqb5r+ehnKCauPLugoU8S36KgmWraHgRqVYndo=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "5e4c2ada4fcd54b99d56d7bd62f384511a7e2593",
"rev": "ca012a02bf8327be9e488546faecae5e05d7d749",
"type": "github"
},
"original": {

View File

@ -41,6 +41,11 @@
plugin = indent-blankline-nvim;
config = toLuaFile ./plugins/indent.lua;
}
{
plugin = nvim-colorizer-lua;
config = toLuaFile ./plugins/colorizer.lua;
}
];
};
}

View File

@ -0,0 +1,7 @@
local status, plugin = pcall(require, 'colorizer')
if not status then
print('Error with plugin: ', plugin)
return
end
plugin.setup()