mirror of
https://github.com/folke/snacks.nvim
synced 2025-07-07 21:25:11 +00:00
33 lines
559 B
Markdown
33 lines
559 B
Markdown
# 🍿 quickfile
|
|
|
|
When doing `nvim somefile.txt`, it will render the file as quickly as possible,
|
|
before loading your plugins.
|
|
|
|
<!-- docgen -->
|
|
|
|
## 📦 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
|
|
}
|
|
}
|
|
}
|
|
```
|
|
|
|
## ⚙️ Config
|
|
|
|
```lua
|
|
---@class snacks.quickfile.Config
|
|
{
|
|
-- any treesitter langs to exclude
|
|
exclude = { "latex" },
|
|
}
|
|
```
|