ux: add colorizer.lua plugin
This commit is contained in:
parent
06b4e995bf
commit
dc2181a344
4 changed files with 71 additions and 44 deletions
101
flake.lock
101
flake.lock
|
@ -69,11 +69,11 @@
|
|||
"gitsigns-nvim": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1680593514,
|
||||
"narHash": "sha256-nUVVEO06giiJURxT7qNHbX9C1ljZtchUeOdEoCQBk3E=",
|
||||
"lastModified": 1684477958,
|
||||
"narHash": "sha256-XPOaQfPMCKPXpzt0JZUlHQj4TyrkDkhgieAnZIFW8Nk=",
|
||||
"owner": "lewis6991",
|
||||
"repo": "gitsigns.nvim",
|
||||
"rev": "372d5cb485f2062ac74abc5b33054abac21d8b58",
|
||||
"rev": "c18b7ca0b5b50596722f3a1572eb9b8eb520c0f1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -85,11 +85,11 @@
|
|||
"hop-nvim": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1667151642,
|
||||
"narHash": "sha256-UZZlo5n1x8UfM9OP7RHfT3sFRfMpLkBLbEdcSO+SU6E=",
|
||||
"lastModified": 1684332066,
|
||||
"narHash": "sha256-xdjFbdp0+S3pVdwcOFmad8PMUU033WeDzswOSdxSQjg=",
|
||||
"owner": "phaazon",
|
||||
"repo": "hop.nvim",
|
||||
"rev": "90db1b2c61b820e230599a04fedcd2679e64bd07",
|
||||
"rev": "03f0434869f1f38868618198b5f4f2ab6d39aef2",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -134,11 +134,11 @@
|
|||
"lualine-nvim": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1681033736,
|
||||
"narHash": "sha256-u79S3wFJ72vcLp7F0f/s21Kvl/pMRI8CkB+8usPQob4=",
|
||||
"lastModified": 1683213422,
|
||||
"narHash": "sha256-ltHE8UIquGo07BSlFGM1l3wmTNN43i8kx6QY7Fj2CNo=",
|
||||
"owner": "nvim-lualine",
|
||||
"repo": "lualine.nvim",
|
||||
"rev": "84ffb80e452d95e2c46fa29a98ea11a240f7843e",
|
||||
"rev": "05d78e9fd0cdfb4545974a5aa14b1be95a86e9c9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -150,11 +150,11 @@
|
|||
"luasnip": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1681454414,
|
||||
"narHash": "sha256-K2otSlcLyZ1r/86mIlrCK8hoV9IP8bnU6yC9QV2Yw8E=",
|
||||
"lastModified": 1684673883,
|
||||
"narHash": "sha256-C8Dc9O8f9nGknleGbc6KcPR4H0EsEAbrcJ87BMO8CIc=",
|
||||
"owner": "L3MON4D3",
|
||||
"repo": "LuaSnip",
|
||||
"rev": "a6355b12a3b7da0aef71f02560e17ff480182b97",
|
||||
"rev": "fcdaa4313305fe20d928551134c1ec2266e7af2a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -166,11 +166,11 @@
|
|||
"neoformat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1681425697,
|
||||
"narHash": "sha256-sSveHMo+MLL6OJY1DMPqaiTq2exd0e0uo5bw1jjejJ8=",
|
||||
"lastModified": 1683899726,
|
||||
"narHash": "sha256-8xInJmMgtgPEF7uabEBVjIN6bIEEXRWnRYz4381EOp8=",
|
||||
"owner": "sbdchd",
|
||||
"repo": "neoformat",
|
||||
"rev": "aca320ad601338c93eca50ab4c86fca964a18d96",
|
||||
"rev": "2d5d071d5957681ae677ee06f6eb879a61b7b618",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -196,11 +196,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1681389457,
|
||||
"narHash": "sha256-Z6TRJ2aI1eRd+kICdrkNyL2aH7XKw8ogzLdtGz1Q9qI=",
|
||||
"lastModified": 1684668519,
|
||||
"narHash": "sha256-KkVvlXTqdLLwko9Y0p1Xv6KQ9QTcQorrU098cGilb7c=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c58e6fbf258df1572b535ac1868ec42faf7675dd",
|
||||
"rev": "85340996ba67cc02f01ba324e18b1306892ed6f5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -213,11 +213,11 @@
|
|||
"nlsp-settings-nvim": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1681419735,
|
||||
"narHash": "sha256-VdmlNg7UNoXLe86x37zuo6AvehE1ZHdBc+fqMe9SjAw=",
|
||||
"lastModified": 1684580545,
|
||||
"narHash": "sha256-nhAdZyAFPlT1oOg2PD2sHe4gOqlUqVx6XNqEz9g9fqM=",
|
||||
"owner": "tamago324",
|
||||
"repo": "nlsp-settings.nvim",
|
||||
"rev": "35215cb3d6dfabae3675591e34e91ed432a5e6b7",
|
||||
"rev": "033db358dba8714384db966db29503122b14b8fd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -229,11 +229,11 @@
|
|||
"nvim-cmp": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1679026924,
|
||||
"narHash": "sha256-CoHGIiZrhRAHZ/Er0JSQMapI7jwllNF5OysLlx2QEik=",
|
||||
"lastModified": 1684300878,
|
||||
"narHash": "sha256-5/6EFzKYSHxFwonBx5Yk2q7gevIgkAQzmva2KqMfD5o=",
|
||||
"owner": "hrsh7th",
|
||||
"repo": "nvim-cmp",
|
||||
"rev": "777450fd0ae289463a14481673e26246b5e38bf2",
|
||||
"rev": "3ac8d6cd29c74ff482d8ea47d45e5081bfc3f5ad",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -242,14 +242,30 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nvim-colorizer": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1591879145,
|
||||
"narHash": "sha256-6YrnItxExL2C8pNIdLd+hXCjsB2MbZANwWkah6dreD8=",
|
||||
"owner": "norcalli",
|
||||
"repo": "nvim-colorizer.lua",
|
||||
"rev": "36c610a9717cc9ec426a07c8e6bf3b3abcb139d6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "norcalli",
|
||||
"repo": "nvim-colorizer.lua",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nvim-lspconfig": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1681464825,
|
||||
"narHash": "sha256-ZqCwGpSmLhfnWYNdgrkvGXOv44wmEUVhfuo+i/cUfck=",
|
||||
"lastModified": 1684736674,
|
||||
"narHash": "sha256-D+itRpm1jhK+CemT7DOhGKGveugUqsBXWi3hDQmt4o0=",
|
||||
"owner": "neovim",
|
||||
"repo": "nvim-lspconfig",
|
||||
"rev": "e52efca5d4f5536533d447ec0d97e4d525b37ace",
|
||||
"rev": "10142ff298f5fc3f8bf9d277c806593401b0fd06",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -278,11 +294,11 @@
|
|||
"nvim-tree-lua": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1681281194,
|
||||
"narHash": "sha256-2i605M8VmmMn+6EwBN8OzQkVVmHFqsnNi+jwJ1BERPc=",
|
||||
"lastModified": 1684654642,
|
||||
"narHash": "sha256-bhq0Fe6GGoYYSvP0mUrlCw+rlHlYG/PeuFGxNK5lzEg=",
|
||||
"owner": "kyazdani42",
|
||||
"repo": "nvim-tree.lua",
|
||||
"rev": "b601b5aa25627f68d3d73ba9269b49e4f04ce126",
|
||||
"rev": "b1e074d2b52d45c8327b5b43a498b3d7e6c93b97",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -294,11 +310,11 @@
|
|||
"nvim-web-devicons": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1681235235,
|
||||
"narHash": "sha256-lAjk2Kpyxabe21ut7xCvhE2+we8hsEZWpcJrYLbhWqM=",
|
||||
"lastModified": 1684714932,
|
||||
"narHash": "sha256-JGGrIm8wTekB7FnD4jNnEQbmcktbVyTxLyER4VOGWto=",
|
||||
"owner": "kyazdani42",
|
||||
"repo": "nvim-web-devicons",
|
||||
"rev": "4ec26d67d419c12a4abaea02f1b6c57b40c08d7e",
|
||||
"rev": "e283ab937e0197b37ec5d8013e49495193407324",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -356,6 +372,7 @@
|
|||
"nixpkgs": "nixpkgs",
|
||||
"nlsp-settings-nvim": "nlsp-settings-nvim",
|
||||
"nvim-cmp": "nvim-cmp",
|
||||
"nvim-colorizer": "nvim-colorizer",
|
||||
"nvim-lspconfig": "nvim-lspconfig",
|
||||
"nvim-orgmode": "nvim-orgmode",
|
||||
"nvim-tree-lua": "nvim-tree-lua",
|
||||
|
@ -386,11 +403,11 @@
|
|||
"tabby-nvim": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1681093349,
|
||||
"narHash": "sha256-y2aA3de6cfqPUpLo49vEozBCCnY/At6Cfif1tgwxt0Y=",
|
||||
"lastModified": 1683788984,
|
||||
"narHash": "sha256-o2niSwXadmeVSIY3ckrDEvxQiAODU0cuz6kh0Ughl2Y=",
|
||||
"owner": "nanozuki",
|
||||
"repo": "tabby.nvim",
|
||||
"rev": "ca5109cc26aa45ddd3270010d41bcd68fb59c773",
|
||||
"rev": "8bbd8b15c15b69057260170355b8e7adcca1c11a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -418,11 +435,11 @@
|
|||
"telescope-nvim": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1681122231,
|
||||
"narHash": "sha256-UMidzUf2nhG577Minzm3QYu0ZNPoK/rXEyUdvZ/5nFw=",
|
||||
"lastModified": 1684216929,
|
||||
"narHash": "sha256-he+kggJjzupbmNeje27QV8h6p74IpgJreokKb9sMNAw=",
|
||||
"owner": "nvim-telescope",
|
||||
"repo": "telescope.nvim",
|
||||
"rev": "6258d50b09f9ae087317e392efe7c05a7323492d",
|
||||
"rev": "40c31fdde93bcd85aeb3447bb3e2a3208395a868",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -434,11 +451,11 @@
|
|||
"theme": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1681481759,
|
||||
"narHash": "sha256-6fHpqN4sfpX/iW+HdeT/uOjYCYHb1mhrJ+AnqbYD+XU=",
|
||||
"lastModified": 1684643448,
|
||||
"narHash": "sha256-s7vxfvw8J+blQAm/5gPuyGZJcv0ND50Bj6S/k/+gOMw=",
|
||||
"owner": "catppuccin",
|
||||
"repo": "nvim",
|
||||
"rev": "415b4b8c81c6552a00e79badf2e60e53e3a96bd0",
|
||||
"rev": "cc517bdcb66a0f8dee90bab10ccdd651fa967bbe",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -150,6 +150,12 @@
|
|||
url = "github:akinsho/org-bullets.nvim";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
# https://github.com/norcalli/nvim-colorizer.lua
|
||||
nvim-colorizer = {
|
||||
url = "github:norcalli/nvim-colorizer.lua";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs @ { self, nixpkgs, flake-utils, nix2lua, ... }:
|
||||
|
@ -184,6 +190,7 @@
|
|||
"hop-nvim"
|
||||
"nvim-orgmode"
|
||||
"org-bullets-nvim"
|
||||
"nvim-colorizer"
|
||||
];
|
||||
|
||||
mkNvimPlugins = { lib, vimUtils, vimPlugins, ... }:
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
, plugins
|
||||
, hop-nvim
|
||||
, nvim-orgmode
|
||||
, nvim-colorizer
|
||||
, org-bullets-nvim
|
||||
, enableOrgMode ? false
|
||||
, ...
|
||||
|
@ -14,8 +15,9 @@ let
|
|||
in
|
||||
{
|
||||
luaConfig = readFile ./hop-nvim.lua
|
||||
+ lib.optional enableOrgMode (readFile (lib.substituteAll { src = ./nvim-orgmode.lua; inherit orgmodeSettings; }));
|
||||
+ lib.optional enableOrgMode (readFile (lib.substituteAll { src = ./nvim-orgmode.lua; inherit orgmodeSettings; }))
|
||||
+ readFile ./nvim-colorizer.lua;
|
||||
|
||||
plugins = [ hop-nvim ]
|
||||
plugins = [ hop-nvim nvim-colorizer ]
|
||||
++ lib.optional enableOrgMode [ nvim-orgmode org-bullets-nvim ];
|
||||
}
|
||||
|
|
1
plugins/ux/nvim-colorizer.lua
Normal file
1
plugins/ux/nvim-colorizer.lua
Normal file
|
@ -0,0 +1 @@
|
|||
require("coloriazer").setup()
|
Reference in a new issue