Skip to content

Snacks: ignore file patterns in picker #54

Description

@practicalli-johnny

Example of adding ignore patterns to the snacks picker

Note that .gitignore patterns should be respected (to test)

Example also arranges picker verically

return {
  "folke/snacks.nvim",
  opts = {
    picker = {
      layout = {
        preset = "vertical",
      },
      files = {

        exclude = {
          "^node_modules/",
          "^node_",
          "^.git/",
          "^target/",
          "^build/",
          "^dist/",
          "^vendor/",
          "^__pycache__/",
        },
      },
    },
  },
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Fields

    No fields configured for Docs.

    Projects

    Status
    Options

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions