nvimdev/indentmini.nvim

github github
formattingindent
stars 88
issues 0
subscribers 4
forks 6
CREATED

2023-04-13

UPDATED

11 hours ago


indentmini.nvim

A minimal less than ~130 lines and blazing fast indentline plugin. no much more features but useful!

old

Install

install with any plugin management or default vim package.

Config

available config values in setup table.

  • char -- string type default is ,
  • current -- boolean highlight current indent level
  • exclude -- table type add exclude filetype in this table ie { 'markdown', 'xxx'}
config = function()
    require("indentmini").setup({}) -- use default config
end,

Highlight

if your colorscheme not config the IndentLine* relate highlight group you should config it in your neovim config.

-- Colors are applied automatically based on user-defined highlight groups.
-- There is no default value.
vim.cmd.highlight('IndentLine guifg=#123456')
-- Current indent line highlight
vim.cmd.highlight('IndentLineCurrent guifg=#123456')

License MIT