snacks.nvim/docs/quickfile.md
2024-12-15 11:17:32 +01:00

559 B

🍿 quickfile

When doing nvim somefile.txt, it will render the file as quickly as possible, before loading your plugins.

📦 Setup

-- 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

---@class snacks.quickfile.Config
{
  -- any treesitter langs to exclude
  exclude = { "latex" },
}