added nvim-colorizer.lua to neovim
This commit is contained in:
parent
affe45d359
commit
d5ec01da3f
18
flake.lock
18
flake.lock
@ -25,11 +25,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1697531492,
|
"lastModified": 1697611555,
|
||||||
"narHash": "sha256-v813jggnyO+wLMKvbkeOruZCh6wubVZEdfxKqJS4bq8=",
|
"narHash": "sha256-8nYMduRQfGSQJr2cDMyodsuGlRcJAy0Ko8K4KkjurP8=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "7a46e6cb3ca02a478bdafc53c0ac89da6efc050c",
|
"rev": "05649393ac1f34980a5cf6a6e89de77626c9182b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -47,11 +47,11 @@
|
|||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1697540776,
|
"lastModified": 1697569807,
|
||||||
"narHash": "sha256-Jr0kMlZfCmx3JLL4ZvfonP3GRZdLy+NdiHeeth0rN7o=",
|
"narHash": "sha256-NCyGgz4ppDf7uEfBrR7LYQI4BH9umOeUrxK25LyEdo4=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "Hyprland",
|
"repo": "Hyprland",
|
||||||
"rev": "20e7ccd48033dcacc233b2a2f46d385049bf299b",
|
"rev": "a0b675ec9e57af8bc631fc8cc54d062b58669a9f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -137,11 +137,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1697059129,
|
"lastModified": 1697456312,
|
||||||
"narHash": "sha256-9NJcFF9CEYPvHJ5ckE8kvINvI84SZZ87PvqMbH6pro0=",
|
"narHash": "sha256-roiSnrqb5r+ehnKCauPLugoU8S36KgmWraHgRqVYndo=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "5e4c2ada4fcd54b99d56d7bd62f384511a7e2593",
|
"rev": "ca012a02bf8327be9e488546faecae5e05d7d749",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -41,6 +41,11 @@
|
|||||||
plugin = indent-blankline-nvim;
|
plugin = indent-blankline-nvim;
|
||||||
config = toLuaFile ./plugins/indent.lua;
|
config = toLuaFile ./plugins/indent.lua;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
plugin = nvim-colorizer-lua;
|
||||||
|
config = toLuaFile ./plugins/colorizer.lua;
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
7
nix/users/base/neovim/plugins/colorizer.lua
Normal file
7
nix/users/base/neovim/plugins/colorizer.lua
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
local status, plugin = pcall(require, 'colorizer')
|
||||||
|
if not status then
|
||||||
|
print('Error with plugin: ', plugin)
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
plugin.setup()
|
Loading…
Reference in New Issue
Block a user