feat: snaks

This commit is contained in:
isabel 2024-11-07 11:08:19 +00:00
parent 5f394b369a
commit 442924a223
No known key found for this signature in database
GPG key ID: 08A97B9A107A1798
5 changed files with 58 additions and 3 deletions

View file

@ -907,6 +907,26 @@
},
"version": "22ce6adf3c866a8c3d0c55956c4b8feeb4f10c32"
},
"snacks-nvim": {
"cargoLocks": null,
"date": "2024-11-06",
"extract": null,
"name": "snacks-nvim",
"passthru": null,
"pinned": false,
"src": {
"deepClone": false,
"fetchSubmodules": false,
"leaveDotGit": false,
"name": null,
"owner": "folke",
"repo": "snacks.nvim",
"rev": "e8ea0910e0fdb020da06664ed9f5250e5d8fc43c",
"sha256": "sha256-UxytAq0PBLcV46/FKCjH2fhysoiaq6tdexaQ5pLZuWE=",
"type": "github"
},
"version": "e8ea0910e0fdb020da06664ed9f5250e5d8fc43c"
},
"telescope": {
"cargoLocks": null,
"date": "2024-10-29",

12
_sources/generated.nix generated
View file

@ -545,6 +545,18 @@
};
date = "2024-11-04";
};
snacks-nvim = {
pname = "snacks-nvim";
version = "e8ea0910e0fdb020da06664ed9f5250e5d8fc43c";
src = fetchFromGitHub {
owner = "folke";
repo = "snacks.nvim";
rev = "e8ea0910e0fdb020da06664ed9f5250e5d8fc43c";
fetchSubmodules = false;
sha256 = "sha256-UxytAq0PBLcV46/FKCjH2fhysoiaq6tdexaQ5pLZuWE=";
};
date = "2024-11-06";
};
telescope = {
pname = "telescope";
version = "85922dde3767e01d42a08e750a773effbffaea3e";

View file

@ -148,6 +148,3 @@ vim.g.loaded_ruby_provider = 0
-- fix markfown stuff
vim.g.markdown_recommended_style = 0
-- disable plugins at this file size
vim.g.bigfile_size = 1024 * 1024 * 1.5 -- 1.5 MB

View file

@ -0,0 +1,22 @@
return {
{
"snacks.nvim",
priority = 1000,
config = function()
local snacks = require("snacks")
snacks.setup({
bigfile = { enabled = true },
quickfile = {
enabled = true,
exclude = { "latex" },
},
-- undo defaults
notifier = { enabled = false },
statuscolumn = { enabled = false },
words = { enabled = false },
})
end,
},
}

View file

@ -184,6 +184,10 @@ src.git = "https://github.com/comfysage/sayama.nvim"
fetch.github = "b0o/schemastore.nvim"
src.git = "https://github.com/b0o/schemastore.nvim"
[snacks-nvim]
fetch.github = "folke/snacks.nvim"
src.git = "https://github.com/folke/snacks.nvim"
[telescope]
fetch.github = "nvim-telescope/telescope.nvim"
src.git = "https://github.com/nvim-telescope/telescope.nvim"