Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nvim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}: let
config = neovimUtils.makeNeovimConfig {
plugins = builtins.attrValues ({
inherit (vimPlugins) lualine-nvim blink-cmp;
inherit (vimPlugins) lualine-nvim blink-cmp bigfile-nvim;
inherit (vimPlugins) neogit oil-nvim nvim-web-devicons vim-wakatime;
}
// self'.legacyPackages.vimPlugins);
Expand Down
20 changes: 20 additions & 0 deletions plugins/nobbz/lua/nobbz/bigfile.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
require("nobbz.lazy").add_specs({ {
"bigfile.nvim",
event = "DeferredUIEnter",
after = function()
require("bigfile").setup({
filesize = 512, -- size of the file in MiB, the plugin round file sizes to the closest MiB
pattern = { "*", }, -- autocmd pattern or function see <### Overriding the detection of big files>
features = { -- features to disable
"indent_blankline",
"illuminate",
"lsp",
"treesitter",
"syntax",
"matchparen",
"vimopts",
"filetype",
},
})
end,
}, })
1 change: 1 addition & 0 deletions plugins/nobbz/lua/nobbz/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ local function rs(submodule)
return require(this_module .. "." .. submodule)
end

rs("bigfile") -- disable some features for huge files
rs("blink") -- foundations for completions
rs("flash") -- some easier motions
rs("git") -- set up neogit (kind of magit)
Expand Down