snacks.nvim/doc/snacks.nvim-quickfile.txt
2025-10-26 13:59:46 +00:00

44 lines
1.3 KiB
Text

*snacks-quickfile* snacks quickfile docs
==============================================================================
Table of Contents *snacks.nvim-quickfile-table-of-contents*
1. Setup |snacks.nvim-quickfile-setup|
2. Config |snacks.nvim-quickfile-config|
When doing `nvim somefile.txt`, it will render the file as quickly as possible,
before loading your plugins.
==============================================================================
1. Setup *snacks.nvim-quickfile-setup*
>lua
-- lazy.nvim
{
"folke/snacks.nvim",
---@type snacks.Config
opts = {
quickfile = {
-- your quickfile configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
}
}
}
<
==============================================================================
2. Config *snacks.nvim-quickfile-config*
>lua
---@class snacks.quickfile.Config
{
-- any treesitter langs to exclude
exclude = { "latex" },
}
<
Generated by panvimdoc <https://github.com/kdheepak/panvimdoc>
vim:tw=78:ts=8:noet:ft=help:norl: