mirror of
https://github.com/isabelroses/nvim.git
synced 2025-04-09 13:29:34 +00:00
cool stuff
This commit is contained in:
parent
a32a910efa
commit
f76f91c6bc
10 changed files with 186 additions and 504 deletions
144
_sources/generated.json
generated
144
_sources/generated.json
generated
|
@ -121,7 +121,7 @@
|
|||
},
|
||||
"cmp-nvim-lsp": {
|
||||
"cargoLocks": null,
|
||||
"date": "2023-12-10",
|
||||
"date": "2024-05-17",
|
||||
"extract": null,
|
||||
"name": "cmp-nvim-lsp",
|
||||
"passthru": null,
|
||||
|
@ -133,11 +133,11 @@
|
|||
"name": null,
|
||||
"owner": "hrsh7th",
|
||||
"repo": "cmp-nvim-lsp",
|
||||
"rev": "5af77f54de1b16c34b23cba810150689a3a90312",
|
||||
"sha256": "sha256-/0sh9vJBD9pUuD7q3tNSQ1YLvxFMNykdg5eG+LjZAA8=",
|
||||
"rev": "39e2eda76828d88b773cc27a3f61d2ad782c922d",
|
||||
"sha256": "sha256-CT1+Z4XJBVsl/RqvJeGmyitD6x7So0ylXvvef5jh7I8=",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "5af77f54de1b16c34b23cba810150689a3a90312"
|
||||
"version": "39e2eda76828d88b773cc27a3f61d2ad782c922d"
|
||||
},
|
||||
"cmp-path": {
|
||||
"cargoLocks": null,
|
||||
|
@ -239,26 +239,6 @@
|
|||
},
|
||||
"version": "d556c00d60c9421c913ee54ff690df2a34f6264e"
|
||||
},
|
||||
"direnv-vim": {
|
||||
"cargoLocks": null,
|
||||
"date": "2023-12-02",
|
||||
"extract": null,
|
||||
"name": "direnv-vim",
|
||||
"passthru": null,
|
||||
"pinned": false,
|
||||
"src": {
|
||||
"deepClone": false,
|
||||
"fetchSubmodules": false,
|
||||
"leaveDotGit": false,
|
||||
"name": null,
|
||||
"owner": "direnv",
|
||||
"repo": "direnv.vim",
|
||||
"rev": "ab2a7e08dd630060cd81d7946739ac7442a4f269",
|
||||
"sha256": "sha256-Lwwm95UEkS8Q0Qsoh10o3sFn48wf7v7eCX/FJJV1HMI=",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "ab2a7e08dd630060cd81d7946739ac7442a4f269"
|
||||
},
|
||||
"editorconfig": {
|
||||
"cargoLocks": null,
|
||||
"date": "2023-01-10",
|
||||
|
@ -359,9 +339,29 @@
|
|||
},
|
||||
"version": "0378a6c428a0bed6a2781d459d7943843f374bce"
|
||||
},
|
||||
"indent-blankline": {
|
||||
"cargoLocks": null,
|
||||
"date": "2024-05-18",
|
||||
"extract": null,
|
||||
"name": "indent-blankline",
|
||||
"passthru": null,
|
||||
"pinned": false,
|
||||
"src": {
|
||||
"deepClone": false,
|
||||
"fetchSubmodules": false,
|
||||
"leaveDotGit": false,
|
||||
"name": null,
|
||||
"owner": "lukas-reineke",
|
||||
"repo": "indent-blankline.nvim",
|
||||
"rev": "ece00d5fb44d196680a81fd2761062d2fa44663b",
|
||||
"sha256": "sha256-qlFoZ/GDsbnIhMoT+esNxheC3I9guxiV2DQYlY9kcMM=",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "ece00d5fb44d196680a81fd2761062d2fa44663b"
|
||||
},
|
||||
"lazy": {
|
||||
"cargoLocks": null,
|
||||
"date": "2024-05-13",
|
||||
"date": "2024-05-18",
|
||||
"extract": null,
|
||||
"name": "lazy",
|
||||
"passthru": null,
|
||||
|
@ -373,11 +373,11 @@
|
|||
"name": null,
|
||||
"owner": "folke",
|
||||
"repo": "lazy.nvim",
|
||||
"rev": "e44636a43376e8a1e851958f7e9cbe996751d59f",
|
||||
"sha256": "sha256-R8iPbDNqpXhTtIL6kfcpdrCdsf3aSRy/0RTcL4x6BWw=",
|
||||
"rev": "5d29ffeaa0f2d91f1dfbc21943d19a11e59a6fc6",
|
||||
"sha256": "sha256-Gl7bSgs1rnZm6MRNGAk70RUJOBdffp5KsPlWkDn5MMY=",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "e44636a43376e8a1e851958f7e9cbe996751d59f"
|
||||
"version": "5d29ffeaa0f2d91f1dfbc21943d19a11e59a6fc6"
|
||||
},
|
||||
"lazygit": {
|
||||
"cargoLocks": null,
|
||||
|
@ -481,7 +481,7 @@
|
|||
},
|
||||
"luasnip": {
|
||||
"cargoLocks": null,
|
||||
"date": "2024-05-14",
|
||||
"date": "2024-05-18",
|
||||
"extract": null,
|
||||
"name": "luasnip",
|
||||
"passthru": null,
|
||||
|
@ -493,11 +493,11 @@
|
|||
"name": null,
|
||||
"owner": "L3MON4D3",
|
||||
"repo": "LuaSnip",
|
||||
"rev": "7b1dda0dfdefc10b2501295eba5e463dbd7c338f",
|
||||
"sha256": "sha256-Cei0aNT9GV4Y3NFLIVQRVgBEV6B8aHla/xCYKJWLsE8=",
|
||||
"rev": "de1a287c9cb525ae52bc846e8f6207e5ef1da5ac",
|
||||
"sha256": "sha256-FLMSWmNOZcY3gT/yGOzQKG0r1vzxP+Lys5msb2G7mKk=",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "7b1dda0dfdefc10b2501295eba5e463dbd7c338f"
|
||||
"version": "de1a287c9cb525ae52bc846e8f6207e5ef1da5ac"
|
||||
},
|
||||
"neodev": {
|
||||
"cargoLocks": null,
|
||||
|
@ -541,7 +541,7 @@
|
|||
},
|
||||
"null-ls": {
|
||||
"cargoLocks": null,
|
||||
"date": "2024-05-14",
|
||||
"date": "2024-05-18",
|
||||
"extract": null,
|
||||
"name": "null-ls",
|
||||
"passthru": null,
|
||||
|
@ -553,15 +553,15 @@
|
|||
"name": null,
|
||||
"owner": "nvimtools",
|
||||
"repo": "none-ls.nvim",
|
||||
"rev": "10c976d633862b9fe16171f5f5f17732bc54e19f",
|
||||
"sha256": "sha256-kV2+ryMoHaGvfh9DDnS/scmPzeicmxI09WQH2hd2e/c=",
|
||||
"rev": "37671797d6e5f9bd0ee3ab965ab2e6de251e1930",
|
||||
"sha256": "sha256-8rZOVkQSK5tnMLEdFdV0gn+fv8wgusrQKNYFPUvf/go=",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "10c976d633862b9fe16171f5f5f17732bc54e19f"
|
||||
"version": "37671797d6e5f9bd0ee3ab965ab2e6de251e1930"
|
||||
},
|
||||
"nvim-cmp": {
|
||||
"cargoLocks": null,
|
||||
"date": "2024-05-12",
|
||||
"date": "2024-05-17",
|
||||
"extract": null,
|
||||
"name": "nvim-cmp",
|
||||
"passthru": null,
|
||||
|
@ -573,11 +573,11 @@
|
|||
"name": null,
|
||||
"owner": "hrsh7th",
|
||||
"repo": "nvim-cmp",
|
||||
"rev": "24122371810089d390847d8ba66325c1f1aa64c0",
|
||||
"sha256": "sha256-wyHbTXFqvt3kXo+EaHdrEggMDOnw4enAAf4pA9ZQm2g=",
|
||||
"rev": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07",
|
||||
"sha256": "sha256-GhXfnWqpXFVM7Yi9+qEXHfA6LIMILcMG9pP4VYXuptE=",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "24122371810089d390847d8ba66325c1f1aa64c0"
|
||||
"version": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07"
|
||||
},
|
||||
"nvim-colorizer-lua": {
|
||||
"cargoLocks": null,
|
||||
|
@ -601,7 +601,7 @@
|
|||
},
|
||||
"nvim-lspconfig": {
|
||||
"cargoLocks": null,
|
||||
"date": "2024-05-14",
|
||||
"date": "2024-05-18",
|
||||
"extract": null,
|
||||
"name": "nvim-lspconfig",
|
||||
"passthru": null,
|
||||
|
@ -613,11 +613,11 @@
|
|||
"name": null,
|
||||
"owner": "neovim",
|
||||
"repo": "nvim-lspconfig",
|
||||
"rev": "a27179f56c6f98a4cdcc79ee2971b514815a4940",
|
||||
"sha256": "sha256-kmo8UfTxarnxZLjL2qOeh4Jo/krxx3uqq073YnsFYxQ=",
|
||||
"rev": "6d2ae9fdc3111a6e8fd5db2467aca11737195a30",
|
||||
"sha256": "sha256-Ofat8It2TCjxnMPHmQ5fZTeJDpMTIrDMGHXle66IWe8=",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "a27179f56c6f98a4cdcc79ee2971b514815a4940"
|
||||
"version": "6d2ae9fdc3111a6e8fd5db2467aca11737195a30"
|
||||
},
|
||||
"nvim-navic": {
|
||||
"cargoLocks": null,
|
||||
|
@ -641,7 +641,7 @@
|
|||
},
|
||||
"nvim-notify": {
|
||||
"cargoLocks": null,
|
||||
"date": "2024-02-17",
|
||||
"date": "2024-05-17",
|
||||
"extract": null,
|
||||
"name": "nvim-notify",
|
||||
"passthru": null,
|
||||
|
@ -653,11 +653,11 @@
|
|||
"name": null,
|
||||
"owner": "rcarriga",
|
||||
"repo": "nvim-notify",
|
||||
"rev": "5371f4bfc1f6d3adf4fe9d62cd3a9d44356bfd15",
|
||||
"sha256": "sha256-xJYPOX4YLcWojMCdP1RO22/7FMrbcBQxqxrcVCE2TrU=",
|
||||
"rev": "d333b6f167900f6d9d42a59005d82919830626bf",
|
||||
"sha256": "sha256-wxyHwL/uFdp6w32CVHgSOWkzRrIRuFvWh+J2401RAAA=",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "5371f4bfc1f6d3adf4fe9d62cd3a9d44356bfd15"
|
||||
"version": "d333b6f167900f6d9d42a59005d82919830626bf"
|
||||
},
|
||||
"nvim-tree-lua": {
|
||||
"cargoLocks": null,
|
||||
|
@ -681,7 +681,7 @@
|
|||
},
|
||||
"nvim-treesitter": {
|
||||
"cargoLocks": null,
|
||||
"date": "2024-05-14",
|
||||
"date": "2024-05-18",
|
||||
"extract": null,
|
||||
"name": "nvim-treesitter",
|
||||
"passthru": null,
|
||||
|
@ -693,11 +693,11 @@
|
|||
"name": null,
|
||||
"owner": "nvim-treesitter",
|
||||
"repo": "nvim-treesitter",
|
||||
"rev": "c26cfc75bc77b3538f4f288b013bc927a371bf2e",
|
||||
"sha256": "sha256-30LYJcP5H+rlKaZYE9kCnDfhLGXa92U32nPYpGf/KXM=",
|
||||
"rev": "1eabe69bfa8f78e14fcf5d42a2b3881babaca30a",
|
||||
"sha256": "sha256-AYJpTJgzDZtLRnU2hOU5jXJzHvXlNx8IUC1GGBYp6DI=",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "c26cfc75bc77b3538f4f288b013bc927a371bf2e"
|
||||
"version": "1eabe69bfa8f78e14fcf5d42a2b3881babaca30a"
|
||||
},
|
||||
"nvim-web-devicons": {
|
||||
"cargoLocks": null,
|
||||
|
@ -721,7 +721,7 @@
|
|||
},
|
||||
"obsidian-nvim": {
|
||||
"cargoLocks": null,
|
||||
"date": "2024-05-08",
|
||||
"date": "2024-05-17",
|
||||
"extract": null,
|
||||
"name": "obsidian-nvim",
|
||||
"passthru": null,
|
||||
|
@ -733,11 +733,11 @@
|
|||
"name": null,
|
||||
"owner": "epwalsh",
|
||||
"repo": "obsidian.nvim",
|
||||
"rev": "2e1f03416583232899dc1b6e27673da5e705abef",
|
||||
"sha256": "sha256-lGnEEFp/MU5sciq6bH5YKAiFx7kf9tTYqE+eB8zvf7A=",
|
||||
"rev": "7b59d907a3ee6952c58e07139cf021a205692338",
|
||||
"sha256": "sha256-PiaPmQ11Wx57ojCG4G50Rwr+phanvuoBqbPHg3N4eGw=",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "2e1f03416583232899dc1b6e27673da5e705abef"
|
||||
"version": "7b59d907a3ee6952c58e07139cf021a205692338"
|
||||
},
|
||||
"plenary": {
|
||||
"cargoLocks": null,
|
||||
|
@ -841,7 +841,7 @@
|
|||
},
|
||||
"rustaceanvim": {
|
||||
"cargoLocks": null,
|
||||
"date": "2024-05-12",
|
||||
"date": "2024-05-16",
|
||||
"extract": null,
|
||||
"name": "rustaceanvim",
|
||||
"passthru": null,
|
||||
|
@ -853,15 +853,15 @@
|
|||
"name": null,
|
||||
"owner": "mrcjkb",
|
||||
"repo": "rustaceanvim",
|
||||
"rev": "1c3d3a75bebcb16df2a093b147ba498185e4ab17",
|
||||
"sha256": "sha256-+oyAOUlVFuCYheT78yIeEW2SxPMuqf3EdAE+f/0A/6s=",
|
||||
"rev": "50c09f3afa35d3b32e09ac1b155e95c53a98b8e8",
|
||||
"sha256": "sha256-21SgWuc1oZfgUcYb8/CBfgJjm6e0JHWpfntCe5dgSHM=",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "1c3d3a75bebcb16df2a093b147ba498185e4ab17"
|
||||
"version": "50c09f3afa35d3b32e09ac1b155e95c53a98b8e8"
|
||||
},
|
||||
"schemastore": {
|
||||
"cargoLocks": null,
|
||||
"date": "2024-05-14",
|
||||
"date": "2024-05-16",
|
||||
"extract": null,
|
||||
"name": "schemastore",
|
||||
"passthru": null,
|
||||
|
@ -873,15 +873,15 @@
|
|||
"name": null,
|
||||
"owner": "b0o",
|
||||
"repo": "schemastore.nvim",
|
||||
"rev": "3c32d6a7bc56d56d4e3cc16fb21b59465a527aeb",
|
||||
"sha256": "sha256-4JPXj/+CNU/hpwhKzs9QnzklmSwpUqkwZvrUCxUwmnw=",
|
||||
"rev": "953dc9a37f646a7f0420c41394f716f0dddf5687",
|
||||
"sha256": "sha256-GZ1frYe7ICNUXOCKrw94jA496JebPFHK0suB//N/kds=",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "3c32d6a7bc56d56d4e3cc16fb21b59465a527aeb"
|
||||
"version": "953dc9a37f646a7f0420c41394f716f0dddf5687"
|
||||
},
|
||||
"telescope": {
|
||||
"cargoLocks": null,
|
||||
"date": "2024-05-14",
|
||||
"date": "2024-05-17",
|
||||
"extract": null,
|
||||
"name": "telescope",
|
||||
"passthru": null,
|
||||
|
@ -893,11 +893,11 @@
|
|||
"name": null,
|
||||
"owner": "nvim-telescope",
|
||||
"repo": "telescope.nvim",
|
||||
"rev": "6f6bb8065567b56c42e283b06e8a1c670c0092a1",
|
||||
"sha256": "sha256-lHMbJAQ0ja2UrUantxQOVWMG502oo6QDod7AmpCw1yE=",
|
||||
"rev": "0c12735d5aff6a48ffd8111bf144dc2ff44e5975",
|
||||
"sha256": "sha256-+h0L5vpwXFNDuzE5Dne5zWuKtZ1mquAhdplHcUxPg8w=",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "6f6bb8065567b56c42e283b06e8a1c670c0092a1"
|
||||
"version": "0c12735d5aff6a48ffd8111bf144dc2ff44e5975"
|
||||
},
|
||||
"telescope-file-browser": {
|
||||
"cargoLocks": null,
|
||||
|
@ -1060,7 +1060,7 @@
|
|||
},
|
||||
"vim-fugitive": {
|
||||
"cargoLocks": null,
|
||||
"date": "2024-05-01",
|
||||
"date": "2024-05-17",
|
||||
"extract": null,
|
||||
"name": "vim-fugitive",
|
||||
"passthru": null,
|
||||
|
@ -1072,11 +1072,11 @@
|
|||
"name": null,
|
||||
"owner": "tpope",
|
||||
"repo": "vim-fugitive",
|
||||
"rev": "ce882460cf3db12e99f8bf579cbf99e331f6dd4f",
|
||||
"sha256": "sha256-0ujueJ226zEmjkFwodSukO1Zu5gMvTmx/dCtT5VBhek=",
|
||||
"rev": "5a9bd42dd8dd127779f3cd8982a0419b7ca9c7f5",
|
||||
"sha256": "sha256-517q3oPvshwUBhXEDuB23S0RPuHvSZWK/1tr6wDhEyA=",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "ce882460cf3db12e99f8bf579cbf99e331f6dd4f"
|
||||
"version": "5a9bd42dd8dd127779f3cd8982a0419b7ca9c7f5"
|
||||
},
|
||||
"vim-just": {
|
||||
"cargoLocks": null,
|
||||
|
|
128
_sources/generated.nix
generated
128
_sources/generated.nix
generated
|
@ -75,15 +75,15 @@
|
|||
};
|
||||
cmp-nvim-lsp = {
|
||||
pname = "cmp-nvim-lsp";
|
||||
version = "5af77f54de1b16c34b23cba810150689a3a90312";
|
||||
version = "39e2eda76828d88b773cc27a3f61d2ad782c922d";
|
||||
src = fetchFromGitHub {
|
||||
owner = "hrsh7th";
|
||||
repo = "cmp-nvim-lsp";
|
||||
rev = "5af77f54de1b16c34b23cba810150689a3a90312";
|
||||
rev = "39e2eda76828d88b773cc27a3f61d2ad782c922d";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-/0sh9vJBD9pUuD7q3tNSQ1YLvxFMNykdg5eG+LjZAA8=";
|
||||
sha256 = "sha256-CT1+Z4XJBVsl/RqvJeGmyitD6x7So0ylXvvef5jh7I8=";
|
||||
};
|
||||
date = "2023-12-10";
|
||||
date = "2024-05-17";
|
||||
};
|
||||
cmp-path = {
|
||||
pname = "cmp-path";
|
||||
|
@ -145,18 +145,6 @@
|
|||
};
|
||||
date = "2024-05-14";
|
||||
};
|
||||
direnv-vim = {
|
||||
pname = "direnv-vim";
|
||||
version = "ab2a7e08dd630060cd81d7946739ac7442a4f269";
|
||||
src = fetchFromGitHub {
|
||||
owner = "direnv";
|
||||
repo = "direnv.vim";
|
||||
rev = "ab2a7e08dd630060cd81d7946739ac7442a4f269";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-Lwwm95UEkS8Q0Qsoh10o3sFn48wf7v7eCX/FJJV1HMI=";
|
||||
};
|
||||
date = "2023-12-02";
|
||||
};
|
||||
editorconfig = {
|
||||
pname = "editorconfig";
|
||||
version = "5b9e303e1d6f7abfe616ce4cc8d3fffc554790bf";
|
||||
|
@ -217,17 +205,29 @@
|
|||
};
|
||||
date = "2024-04-09";
|
||||
};
|
||||
indent-blankline = {
|
||||
pname = "indent-blankline";
|
||||
version = "ece00d5fb44d196680a81fd2761062d2fa44663b";
|
||||
src = fetchFromGitHub {
|
||||
owner = "lukas-reineke";
|
||||
repo = "indent-blankline.nvim";
|
||||
rev = "ece00d5fb44d196680a81fd2761062d2fa44663b";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-qlFoZ/GDsbnIhMoT+esNxheC3I9guxiV2DQYlY9kcMM=";
|
||||
};
|
||||
date = "2024-05-18";
|
||||
};
|
||||
lazy = {
|
||||
pname = "lazy";
|
||||
version = "e44636a43376e8a1e851958f7e9cbe996751d59f";
|
||||
version = "5d29ffeaa0f2d91f1dfbc21943d19a11e59a6fc6";
|
||||
src = fetchFromGitHub {
|
||||
owner = "folke";
|
||||
repo = "lazy.nvim";
|
||||
rev = "e44636a43376e8a1e851958f7e9cbe996751d59f";
|
||||
rev = "5d29ffeaa0f2d91f1dfbc21943d19a11e59a6fc6";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-R8iPbDNqpXhTtIL6kfcpdrCdsf3aSRy/0RTcL4x6BWw=";
|
||||
sha256 = "sha256-Gl7bSgs1rnZm6MRNGAk70RUJOBdffp5KsPlWkDn5MMY=";
|
||||
};
|
||||
date = "2024-05-13";
|
||||
date = "2024-05-18";
|
||||
};
|
||||
lazygit = {
|
||||
pname = "lazygit";
|
||||
|
@ -291,15 +291,15 @@
|
|||
};
|
||||
luasnip = {
|
||||
pname = "luasnip";
|
||||
version = "7b1dda0dfdefc10b2501295eba5e463dbd7c338f";
|
||||
version = "de1a287c9cb525ae52bc846e8f6207e5ef1da5ac";
|
||||
src = fetchFromGitHub {
|
||||
owner = "L3MON4D3";
|
||||
repo = "LuaSnip";
|
||||
rev = "7b1dda0dfdefc10b2501295eba5e463dbd7c338f";
|
||||
rev = "de1a287c9cb525ae52bc846e8f6207e5ef1da5ac";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-Cei0aNT9GV4Y3NFLIVQRVgBEV6B8aHla/xCYKJWLsE8=";
|
||||
sha256 = "sha256-FLMSWmNOZcY3gT/yGOzQKG0r1vzxP+Lys5msb2G7mKk=";
|
||||
};
|
||||
date = "2024-05-14";
|
||||
date = "2024-05-18";
|
||||
};
|
||||
neodev = {
|
||||
pname = "neodev";
|
||||
|
@ -327,27 +327,27 @@
|
|||
};
|
||||
null-ls = {
|
||||
pname = "null-ls";
|
||||
version = "10c976d633862b9fe16171f5f5f17732bc54e19f";
|
||||
version = "37671797d6e5f9bd0ee3ab965ab2e6de251e1930";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nvimtools";
|
||||
repo = "none-ls.nvim";
|
||||
rev = "10c976d633862b9fe16171f5f5f17732bc54e19f";
|
||||
rev = "37671797d6e5f9bd0ee3ab965ab2e6de251e1930";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-kV2+ryMoHaGvfh9DDnS/scmPzeicmxI09WQH2hd2e/c=";
|
||||
sha256 = "sha256-8rZOVkQSK5tnMLEdFdV0gn+fv8wgusrQKNYFPUvf/go=";
|
||||
};
|
||||
date = "2024-05-14";
|
||||
date = "2024-05-18";
|
||||
};
|
||||
nvim-cmp = {
|
||||
pname = "nvim-cmp";
|
||||
version = "24122371810089d390847d8ba66325c1f1aa64c0";
|
||||
version = "5260e5e8ecadaf13e6b82cf867a909f54e15fd07";
|
||||
src = fetchFromGitHub {
|
||||
owner = "hrsh7th";
|
||||
repo = "nvim-cmp";
|
||||
rev = "24122371810089d390847d8ba66325c1f1aa64c0";
|
||||
rev = "5260e5e8ecadaf13e6b82cf867a909f54e15fd07";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-wyHbTXFqvt3kXo+EaHdrEggMDOnw4enAAf4pA9ZQm2g=";
|
||||
sha256 = "sha256-GhXfnWqpXFVM7Yi9+qEXHfA6LIMILcMG9pP4VYXuptE=";
|
||||
};
|
||||
date = "2024-05-12";
|
||||
date = "2024-05-17";
|
||||
};
|
||||
nvim-colorizer-lua = {
|
||||
pname = "nvim-colorizer-lua";
|
||||
|
@ -363,15 +363,15 @@
|
|||
};
|
||||
nvim-lspconfig = {
|
||||
pname = "nvim-lspconfig";
|
||||
version = "a27179f56c6f98a4cdcc79ee2971b514815a4940";
|
||||
version = "6d2ae9fdc3111a6e8fd5db2467aca11737195a30";
|
||||
src = fetchFromGitHub {
|
||||
owner = "neovim";
|
||||
repo = "nvim-lspconfig";
|
||||
rev = "a27179f56c6f98a4cdcc79ee2971b514815a4940";
|
||||
rev = "6d2ae9fdc3111a6e8fd5db2467aca11737195a30";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-kmo8UfTxarnxZLjL2qOeh4Jo/krxx3uqq073YnsFYxQ=";
|
||||
sha256 = "sha256-Ofat8It2TCjxnMPHmQ5fZTeJDpMTIrDMGHXle66IWe8=";
|
||||
};
|
||||
date = "2024-05-14";
|
||||
date = "2024-05-18";
|
||||
};
|
||||
nvim-navic = {
|
||||
pname = "nvim-navic";
|
||||
|
@ -387,15 +387,15 @@
|
|||
};
|
||||
nvim-notify = {
|
||||
pname = "nvim-notify";
|
||||
version = "5371f4bfc1f6d3adf4fe9d62cd3a9d44356bfd15";
|
||||
version = "d333b6f167900f6d9d42a59005d82919830626bf";
|
||||
src = fetchFromGitHub {
|
||||
owner = "rcarriga";
|
||||
repo = "nvim-notify";
|
||||
rev = "5371f4bfc1f6d3adf4fe9d62cd3a9d44356bfd15";
|
||||
rev = "d333b6f167900f6d9d42a59005d82919830626bf";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-xJYPOX4YLcWojMCdP1RO22/7FMrbcBQxqxrcVCE2TrU=";
|
||||
sha256 = "sha256-wxyHwL/uFdp6w32CVHgSOWkzRrIRuFvWh+J2401RAAA=";
|
||||
};
|
||||
date = "2024-02-17";
|
||||
date = "2024-05-17";
|
||||
};
|
||||
nvim-tree-lua = {
|
||||
pname = "nvim-tree-lua";
|
||||
|
@ -411,15 +411,15 @@
|
|||
};
|
||||
nvim-treesitter = {
|
||||
pname = "nvim-treesitter";
|
||||
version = "c26cfc75bc77b3538f4f288b013bc927a371bf2e";
|
||||
version = "1eabe69bfa8f78e14fcf5d42a2b3881babaca30a";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nvim-treesitter";
|
||||
repo = "nvim-treesitter";
|
||||
rev = "c26cfc75bc77b3538f4f288b013bc927a371bf2e";
|
||||
rev = "1eabe69bfa8f78e14fcf5d42a2b3881babaca30a";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-30LYJcP5H+rlKaZYE9kCnDfhLGXa92U32nPYpGf/KXM=";
|
||||
sha256 = "sha256-AYJpTJgzDZtLRnU2hOU5jXJzHvXlNx8IUC1GGBYp6DI=";
|
||||
};
|
||||
date = "2024-05-14";
|
||||
date = "2024-05-18";
|
||||
};
|
||||
nvim-web-devicons = {
|
||||
pname = "nvim-web-devicons";
|
||||
|
@ -435,15 +435,15 @@
|
|||
};
|
||||
obsidian-nvim = {
|
||||
pname = "obsidian-nvim";
|
||||
version = "2e1f03416583232899dc1b6e27673da5e705abef";
|
||||
version = "7b59d907a3ee6952c58e07139cf021a205692338";
|
||||
src = fetchFromGitHub {
|
||||
owner = "epwalsh";
|
||||
repo = "obsidian.nvim";
|
||||
rev = "2e1f03416583232899dc1b6e27673da5e705abef";
|
||||
rev = "7b59d907a3ee6952c58e07139cf021a205692338";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-lGnEEFp/MU5sciq6bH5YKAiFx7kf9tTYqE+eB8zvf7A=";
|
||||
sha256 = "sha256-PiaPmQ11Wx57ojCG4G50Rwr+phanvuoBqbPHg3N4eGw=";
|
||||
};
|
||||
date = "2024-05-08";
|
||||
date = "2024-05-17";
|
||||
};
|
||||
plenary = {
|
||||
pname = "plenary";
|
||||
|
@ -507,39 +507,39 @@
|
|||
};
|
||||
rustaceanvim = {
|
||||
pname = "rustaceanvim";
|
||||
version = "1c3d3a75bebcb16df2a093b147ba498185e4ab17";
|
||||
version = "50c09f3afa35d3b32e09ac1b155e95c53a98b8e8";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mrcjkb";
|
||||
repo = "rustaceanvim";
|
||||
rev = "1c3d3a75bebcb16df2a093b147ba498185e4ab17";
|
||||
rev = "50c09f3afa35d3b32e09ac1b155e95c53a98b8e8";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-+oyAOUlVFuCYheT78yIeEW2SxPMuqf3EdAE+f/0A/6s=";
|
||||
sha256 = "sha256-21SgWuc1oZfgUcYb8/CBfgJjm6e0JHWpfntCe5dgSHM=";
|
||||
};
|
||||
date = "2024-05-12";
|
||||
date = "2024-05-16";
|
||||
};
|
||||
schemastore = {
|
||||
pname = "schemastore";
|
||||
version = "3c32d6a7bc56d56d4e3cc16fb21b59465a527aeb";
|
||||
version = "953dc9a37f646a7f0420c41394f716f0dddf5687";
|
||||
src = fetchFromGitHub {
|
||||
owner = "b0o";
|
||||
repo = "schemastore.nvim";
|
||||
rev = "3c32d6a7bc56d56d4e3cc16fb21b59465a527aeb";
|
||||
rev = "953dc9a37f646a7f0420c41394f716f0dddf5687";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-4JPXj/+CNU/hpwhKzs9QnzklmSwpUqkwZvrUCxUwmnw=";
|
||||
sha256 = "sha256-GZ1frYe7ICNUXOCKrw94jA496JebPFHK0suB//N/kds=";
|
||||
};
|
||||
date = "2024-05-14";
|
||||
date = "2024-05-16";
|
||||
};
|
||||
telescope = {
|
||||
pname = "telescope";
|
||||
version = "6f6bb8065567b56c42e283b06e8a1c670c0092a1";
|
||||
version = "0c12735d5aff6a48ffd8111bf144dc2ff44e5975";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nvim-telescope";
|
||||
repo = "telescope.nvim";
|
||||
rev = "6f6bb8065567b56c42e283b06e8a1c670c0092a1";
|
||||
rev = "0c12735d5aff6a48ffd8111bf144dc2ff44e5975";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-lHMbJAQ0ja2UrUantxQOVWMG502oo6QDod7AmpCw1yE=";
|
||||
sha256 = "sha256-+h0L5vpwXFNDuzE5Dne5zWuKtZ1mquAhdplHcUxPg8w=";
|
||||
};
|
||||
date = "2024-05-14";
|
||||
date = "2024-05-17";
|
||||
};
|
||||
telescope-file-browser = {
|
||||
pname = "telescope-file-browser";
|
||||
|
@ -640,15 +640,15 @@
|
|||
};
|
||||
vim-fugitive = {
|
||||
pname = "vim-fugitive";
|
||||
version = "ce882460cf3db12e99f8bf579cbf99e331f6dd4f";
|
||||
version = "5a9bd42dd8dd127779f3cd8982a0419b7ca9c7f5";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tpope";
|
||||
repo = "vim-fugitive";
|
||||
rev = "ce882460cf3db12e99f8bf579cbf99e331f6dd4f";
|
||||
rev = "5a9bd42dd8dd127779f3cd8982a0419b7ca9c7f5";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-0ujueJ226zEmjkFwodSukO1Zu5gMvTmx/dCtT5VBhek=";
|
||||
sha256 = "sha256-517q3oPvshwUBhXEDuB23S0RPuHvSZWK/1tr6wDhEyA=";
|
||||
};
|
||||
date = "2024-05-01";
|
||||
date = "2024-05-17";
|
||||
};
|
||||
vim-just = {
|
||||
pname = "vim-just";
|
||||
|
|
164
flake.lock
generated
164
flake.lock
generated
|
@ -21,11 +21,11 @@
|
|||
"nixpkgs-lib": "nixpkgs-lib"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1714641030,
|
||||
"narHash": "sha256-yzcRNDoyVP7+SCNX0wmuDju1NUCt8Dz9+lyUXEI0dbI=",
|
||||
"lastModified": 1715865404,
|
||||
"narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "e5d10a24b66c3ea8f150e47dfdb0416ab7c3390e",
|
||||
"rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -34,27 +34,6 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts_2": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"neovim-nightly-overlay",
|
||||
"hercules-ci-effects",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1712014858,
|
||||
"narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "9126214d0a59633752a136528f5f3b9aa8565b7d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"id": "flake-parts",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"flake-utils": {
|
||||
"inputs": {
|
||||
"systems": "systems"
|
||||
|
@ -73,24 +52,6 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-utils_2": {
|
||||
"inputs": {
|
||||
"systems": "systems_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1710146030,
|
||||
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"gitignore": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
@ -112,28 +73,6 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"hercules-ci-effects": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts_2",
|
||||
"nixpkgs": [
|
||||
"neovim-nightly-overlay",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1713898448,
|
||||
"narHash": "sha256-6q6ojsp/Z9P2goqnxyfCSzFOD92T3Uobmj8oVAicUOs=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "hercules-ci-effects",
|
||||
"rev": "c0302ec12d569532a6b6bd218f698bc402e93adc",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "hercules-ci-effects",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"lazy-nvim": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
@ -158,11 +97,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1715670216,
|
||||
"narHash": "sha256-o92J+onY44WTOAVXApWAphON4HCLKn7lM0YHDKHkSp8=",
|
||||
"lastModified": 1716015784,
|
||||
"narHash": "sha256-ZzQt6qWoH0ce0vzqX8WJgzhYxyVCZGeCQlucdPKPIrw=",
|
||||
"owner": "nekowinston",
|
||||
"repo": "nur",
|
||||
"rev": "7909bab3c6cd07d61bb3c8aa3c9fd6d8f177c0d8",
|
||||
"rev": "b8bdfa5a29452dbb6d3b34901260a0094bb2c086",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -171,58 +110,6 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"neovim-flake": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils_2",
|
||||
"nixpkgs": [
|
||||
"neovim-nightly-overlay",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"dir": "contrib",
|
||||
"lastModified": 1715728713,
|
||||
"narHash": "sha256-DmODP02EhM3+O2hHKB+AVJc+5qykxDh8nz7POO6zGrI=",
|
||||
"owner": "neovim",
|
||||
"repo": "neovim",
|
||||
"rev": "7acf39ddab8ebdb63ebf78ec980149d20783fd4b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"dir": "contrib",
|
||||
"owner": "neovim",
|
||||
"repo": "neovim",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"neovim-nightly-overlay": {
|
||||
"inputs": {
|
||||
"flake-compat": [
|
||||
"flake-compat"
|
||||
],
|
||||
"flake-parts": [
|
||||
"flake-parts"
|
||||
],
|
||||
"hercules-ci-effects": "hercules-ci-effects",
|
||||
"neovim-flake": "neovim-flake",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1715731444,
|
||||
"narHash": "sha256-Mdj0NXU5yZCyX8LWigox+ab67RQGcYpmbuw3NQr6L9E=",
|
||||
"owner": "nix-community",
|
||||
"repo": "neovim-nightly-overlay",
|
||||
"rev": "5c17e8ef097ee948586858a25e05bc48145a2956",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "neovim-nightly-overlay",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"neovim-nix": {
|
||||
"inputs": {
|
||||
"flake-parts": [
|
||||
|
@ -237,27 +124,27 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1713535889,
|
||||
"narHash": "sha256-Hr6/nhqJZLbmkDWa57F0NXmAK1azDOyppIvBB8SSPIQ=",
|
||||
"lastModified": 1715615951,
|
||||
"narHash": "sha256-VeiCMSzS5eInPQAkBUVp1S2m+RaDVm1sWCQlNYNU42M=",
|
||||
"owner": "nekowinston",
|
||||
"repo": "neovim.nix",
|
||||
"rev": "e4717ef5ac7548edca7b483c0ffb96f1566f603a",
|
||||
"rev": "bf298204939f998413ed55abc2d621d33fec95f0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nekowinston",
|
||||
"ref": "feat/add-pluginspec-main-field",
|
||||
"ref": "dev",
|
||||
"repo": "neovim.nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1715534503,
|
||||
"narHash": "sha256-5ZSVkFadZbFP1THataCaSf0JH2cAH3S29hU9rrxTEqk=",
|
||||
"lastModified": 1715961556,
|
||||
"narHash": "sha256-+NpbZRCRisUHKQJZF3CT+xn14ZZQO+KjxIIanH3Pvn4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "2057814051972fa1453ddfb0d98badbea9b83c06",
|
||||
"rev": "4a6b83b05df1a8bd7d99095ec4b4d271f2956b64",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -300,9 +187,6 @@
|
|||
"flake-compat": [
|
||||
"flake-compat"
|
||||
],
|
||||
"flake-utils": [
|
||||
"flake-utils"
|
||||
],
|
||||
"gitignore": "gitignore",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
|
@ -310,11 +194,11 @@
|
|||
"nixpkgs-stable": "nixpkgs-stable"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1715609711,
|
||||
"narHash": "sha256-/5u29K0c+4jyQ8x7dUIEUWlz2BoTSZWUP2quPwFCE7M=",
|
||||
"lastModified": 1715870890,
|
||||
"narHash": "sha256-nacSOeXtUEM77Gn0G4bTdEOeFIrkCBXiyyFZtdGwuH0=",
|
||||
"owner": "cachix",
|
||||
"repo": "pre-commit-hooks.nix",
|
||||
"rev": "c182c876690380f8d3b9557c4609472ebfa1b141",
|
||||
"rev": "fa606cccd7b0ccebe2880051208e4a0f61bfc8c1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -329,7 +213,6 @@
|
|||
"flake-parts": "flake-parts",
|
||||
"flake-utils": "flake-utils",
|
||||
"nekowinston-nur": "nekowinston-nur",
|
||||
"neovim-nightly-overlay": "neovim-nightly-overlay",
|
||||
"neovim-nix": "neovim-nix",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"pre-commit-nix": "pre-commit-nix"
|
||||
|
@ -349,21 +232,6 @@
|
|||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_2": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
|
17
flake.nix
17
flake.nix
|
@ -5,26 +5,16 @@
|
|||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
|
||||
neovim-nightly-overlay = {
|
||||
url = "github:nix-community/neovim-nightly-overlay";
|
||||
inputs = {
|
||||
nixpkgs.follows = "nixpkgs";
|
||||
flake-parts.follows = "flake-parts";
|
||||
flake-compat.follows = "flake-compat";
|
||||
};
|
||||
};
|
||||
|
||||
pre-commit-nix = {
|
||||
url = "github:cachix/pre-commit-hooks.nix";
|
||||
inputs = {
|
||||
flake-compat.follows = "flake-compat";
|
||||
flake-utils.follows = "flake-utils";
|
||||
nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
neovim-nix = {
|
||||
url = "github:nekowinston/neovim.nix/feat/add-pluginspec-main-field";
|
||||
url = "github:nekowinston/neovim.nix/dev";
|
||||
inputs = {
|
||||
nixpkgs.follows = "nixpkgs";
|
||||
flake-parts.follows = "flake-parts";
|
||||
|
@ -75,10 +65,7 @@
|
|||
_module.args.pkgs = import inputs.nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
overlays = [
|
||||
inputs.neovim-nightly-overlay.overlay
|
||||
(_: p: { nekowinston = import inputs.nekowinston-nur { inherit (p) pkgs; }; })
|
||||
];
|
||||
overlays = [ (_: p: { nekowinston = import inputs.nekowinston-nur { inherit (p) pkgs; }; }) ];
|
||||
};
|
||||
|
||||
checks = {
|
||||
|
|
|
@ -46,10 +46,6 @@ src.git = "https://github.com/zbirenbaum/copilot-cmp"
|
|||
fetch.github = "saecki/crates.nvim"
|
||||
src.git = "https://github.com/saecki/crates.nvim"
|
||||
|
||||
[direnv-vim]
|
||||
fetch.github = "direnv/direnv.vim"
|
||||
src.git = "https://github.com/direnv/direnv.vim"
|
||||
|
||||
[editorconfig]
|
||||
fetch.github = "gpanders/editorconfig.nvim"
|
||||
src.git = "https://github.com/gpanders/editorconfig.nvim"
|
||||
|
@ -100,6 +96,10 @@ src.git = "https://github.com/nvim-lualine/lualine.nvim"
|
|||
fetch.github = "L3MON4D3/LuaSnip"
|
||||
src.git = "https://github.com/L3MON4D3/LuaSnip"
|
||||
|
||||
[indent-blankline]
|
||||
fetch.github = "lukas-reineke/indent-blankline.nvim"
|
||||
src.git = "https://github.com/lukas-reineke/indent-blankline.nvim"
|
||||
|
||||
[neodev]
|
||||
fetch.github = "folke/neodev.nvim"
|
||||
src.git = "https://github.com/folke/neodev.nvim"
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
{ vimUtils, ... }:
|
||||
vimUtils.buildVimPlugin {
|
||||
name = "charm-freeze";
|
||||
src = ./.;
|
||||
}
|
|
@ -1,188 +0,0 @@
|
|||
local M = {}
|
||||
|
||||
local function is_array(...)
|
||||
if vim.fn.has("nvim-0.10") == 1 then
|
||||
return vim.isarray(...)
|
||||
else
|
||||
return vim.tbl_islist(...)
|
||||
end
|
||||
end
|
||||
|
||||
-- We require command to give, this also allows us to have a custom command
|
||||
M.required_options = {
|
||||
command = "freeze",
|
||||
}
|
||||
|
||||
-- We allow the user to provide custom options, if none are provided the command will use its default args
|
||||
M.allowed_opts = {
|
||||
command = "string",
|
||||
config = "string",
|
||||
output = { "string", "function" },
|
||||
window = "boolean",
|
||||
padding = { "string", "table" },
|
||||
margin = { "string", "table" },
|
||||
background = "string",
|
||||
theme = "string",
|
||||
show_line_numbers = "boolean",
|
||||
line_height = "number",
|
||||
language = "string",
|
||||
font = {
|
||||
size = "number",
|
||||
family = "string",
|
||||
ligatures = "boolean",
|
||||
},
|
||||
shadow = {
|
||||
blur = "number",
|
||||
x = "number",
|
||||
y = "number",
|
||||
},
|
||||
border = {
|
||||
radius = "number",
|
||||
width = "number",
|
||||
color = "string",
|
||||
},
|
||||
}
|
||||
|
||||
M.parse_options = function(opts)
|
||||
local options
|
||||
|
||||
-- Ensure the input is a table
|
||||
vim.validate({
|
||||
opts = { opts, "table" },
|
||||
})
|
||||
|
||||
-- Ensure that the user has provided the required options
|
||||
options = vim.tbl_deep_extend("force", M.required_options, opts or {})
|
||||
|
||||
-- Ensure that the user has not provided any options that are not allowed
|
||||
if M.allowed_opts then
|
||||
for k, v in pairs(opts) do
|
||||
local k_type = M.allowed_opts[k]
|
||||
|
||||
-- Check if the key is allowed
|
||||
-- We need to handle the tables which are not arrays diffrently
|
||||
if type(k_type) == "table" and not is_array(k_type) then
|
||||
vim.validate({ [k] = { v, "table" } })
|
||||
for _k, _v in pairs(v) do
|
||||
vim.validate({
|
||||
[_k] = { _v, k_type[_k] },
|
||||
})
|
||||
end
|
||||
else
|
||||
vim.validate({
|
||||
[k] = { v, k_type },
|
||||
})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
return options
|
||||
end
|
||||
|
||||
local function populate_cmd(cmd, args, tbl, prefix)
|
||||
for k, v in pairs(tbl) do
|
||||
-- handle margin and padding separately as tables
|
||||
if k == "margin" or k == "padding" then
|
||||
if type(v) == "table" then
|
||||
table.insert(cmd, "--" .. prefix .. k)
|
||||
table.insert(cmd, table.concat(v, ","))
|
||||
end
|
||||
-- table options ('border', 'font', 'shadow')
|
||||
elseif type(v) == "table" and not is_array(v) then
|
||||
populate_cmd(cmd, args, v, prefix .. k .. ".")
|
||||
-- handle anything that is not the command or language option
|
||||
elseif k ~= "command" and k ~= "language" then
|
||||
table.insert(cmd, "--" .. prefix .. string.gsub(k, "_", "-"))
|
||||
|
||||
-- if the value is a function, call it with the args, otherwise just use the value
|
||||
local value = nil
|
||||
if type(v) == "function" then
|
||||
value = v(args)
|
||||
else
|
||||
value = v
|
||||
end
|
||||
|
||||
-- Don't append the value if it's a boolean option.
|
||||
if type(v) ~= "boolean" then
|
||||
table.insert(cmd, value)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- Generate the command line arguments
|
||||
M.get_arguments = function(args, options)
|
||||
local cmd = {}
|
||||
|
||||
table.insert(cmd, options.command)
|
||||
populate_cmd(cmd, args, options, "")
|
||||
|
||||
return cmd
|
||||
end
|
||||
|
||||
M.format_lines = function(cmdline, args)
|
||||
local begin_line = args.line1 - 1
|
||||
local finish_line = args.line2
|
||||
|
||||
if args.range == 0 then
|
||||
begin_line = 0
|
||||
finish_line = -1
|
||||
end
|
||||
|
||||
local marks = vim.api.nvim_buf_get_mark(vim.api.nvim_win_get_buf(0), "h")[1]
|
||||
if marks > 0 then
|
||||
local hl
|
||||
if args.range == 0 or (args.line1 and marks >= begin_line and marks <= finish_line) then
|
||||
hl = marks - begin_line
|
||||
table.insert(cmdline, "--lines ")
|
||||
table.insert(cmdline, hl)
|
||||
end
|
||||
end
|
||||
|
||||
local lines = vim.api.nvim_buf_get_lines(vim.api.nvim_win_get_buf(0), begin_line, finish_line, false)
|
||||
|
||||
return lines, cmdline
|
||||
end
|
||||
|
||||
M.start = function(args, options)
|
||||
local lines = nil
|
||||
|
||||
-- start building the base of the command from the options
|
||||
local base_cmdline = M.get_arguments(args, options)
|
||||
-- parse buffer into lines, based on arguments from neovim, reshapes cmdline
|
||||
lines, base_cmdline = M.format_lines(base_cmdline, args)
|
||||
|
||||
local cmd = vim.tbl_extend("error", base_cmdline, {})
|
||||
|
||||
-- if the user gave us a language lets use it
|
||||
-- else try to get the language from neovim's buffer filetype
|
||||
table.insert(cmd, "--language")
|
||||
if options.language then
|
||||
table.insert(cmd, options.language)
|
||||
else
|
||||
table.insert(cmd, vim.bo.filetype)
|
||||
end
|
||||
|
||||
-- run the command and get the output
|
||||
local ret = vim.fn.system(cmd, lines)
|
||||
if string.find(ret, "WROTE") then
|
||||
return vim.notify("File saved to" .. string.sub(ret, 8), vim.log.levels.INFO, { title = "charm-freeze.nvim" })
|
||||
else
|
||||
return vim.notify("freeze returned: " .. ret, vim.log.levels.WARN, { title = "charm-freeze.nvim" })
|
||||
end
|
||||
end
|
||||
|
||||
-- define commands for neovim
|
||||
M.setup = function(opts)
|
||||
local options = M.parse_options(opts)
|
||||
|
||||
vim.api.nvim_create_user_command("Freeze", function(args)
|
||||
M.start(args, options)
|
||||
end, {
|
||||
desc = "convert range to code image representation",
|
||||
force = false,
|
||||
range = true,
|
||||
})
|
||||
end
|
||||
|
||||
return M
|
|
@ -39,7 +39,7 @@ return function()
|
|||
which_key = true,
|
||||
indent_blankline = {
|
||||
enabled = true,
|
||||
colored_indent_levels = false,
|
||||
colored_indent_levels = true,
|
||||
},
|
||||
navic = {
|
||||
enabled = true,
|
||||
|
|
|
@ -65,6 +65,9 @@ vim.o.cmdheight = 0
|
|||
-- always show status
|
||||
vim.o.laststatus = 3
|
||||
|
||||
-- indent blank line imporvments
|
||||
vim.opt.list = true
|
||||
|
||||
-- disable swap, backup, and undo files
|
||||
vim.opt.swapfile = false
|
||||
vim.opt.backup = false
|
||||
|
|
|
@ -298,20 +298,37 @@ rec {
|
|||
|
||||
# track my time coding
|
||||
wakatime = {
|
||||
enabled = ''
|
||||
function()
|
||||
return vim.fn.glob("~/.wakatime.cfg") ~= "" or vim.fn.glob("~/.config/wakatime/.wakatime.cfg") ~= ""
|
||||
end
|
||||
'';
|
||||
src = pkgs.vimPlugins.vim-wakatime;
|
||||
event = "VeryLazy";
|
||||
paths = [ pkgs.wakatime ];
|
||||
};
|
||||
|
||||
# direnv integration
|
||||
direnv = {
|
||||
src = srcs.direnv-vim;
|
||||
event = "VeryLazy";
|
||||
paths = [ pkgs.direnv ];
|
||||
};
|
||||
# indent-blankline = {
|
||||
# src = srcs.indent-blankline;
|
||||
# main = "ibl";
|
||||
# config.exclude.filetypes = [
|
||||
# "alpha"
|
||||
# "fugitive"
|
||||
# "help"
|
||||
# "lazy"
|
||||
# "NvimTree"
|
||||
# "LazyGit"
|
||||
# "TelescopePrompt"
|
||||
# "prompt"
|
||||
# "code-action-menu-menu"
|
||||
# "code-action-menu-warning-message"
|
||||
# "Trouble"
|
||||
# ];
|
||||
# event = "VeryLazy";
|
||||
# };
|
||||
|
||||
charm-freeze = {
|
||||
src = pkgs.callPackage ../pkgs/charm-freeze.nvim { };
|
||||
src = srcs.charm-freeze-nvim;
|
||||
paths = [ pkgs.charm-freeze ];
|
||||
event = "VeryLazy";
|
||||
config = ./charm-freeze.lua;
|
||||
|
|
Loading…
Add table
Reference in a new issue