Skip to content

Simple indentation guides, heavily inspired by mini.indentscope and snacks.indent

License

Notifications You must be signed in to change notification settings

pedrog14/simpleindent.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

simpleindent.nvim

Simple indentation guides, heavily inspired by mini.indentscope and snacks.indent

Indent guides (sw = 2)

Requirements

  • Neovim >= 0.10.0

Installation

{
  "pedrog14/simpleindent.nvim",
  event = { "BufReadPost", "BufNewFile", "BufWritePre" },
  opts = {},
}
Plug 'pedrog14/simpleindent.nvim'

Built-in plugin manager (vim.pack):

vim.pack.add({ { src = "https://github.com/pedrog14/simpleindent.nvim" } })

Configuration

Default settings:

{
  filter = {
    filetype = {
      "lspinfo",
      "packer",
      "checkhealth",
      "help",
      "man",
      "gitcommit",
      "dashboard",
      "text",
      "",
    },
    buftype = { "terminal", "quickfix", "nofile", "prompt" },
  },
  symbol = "",
}

You can enable your plugin and/or modify your settings by calling require("simpleindent").setup with the proper argument table (only needed if you want to modify default settings), as presented above.

About

Simple indentation guides, heavily inspired by mini.indentscope and snacks.indent

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages