nvimdev / indentmini.nvim

A minimal and blazing fast indentline plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

indentmini.nvim

Minimal less than ~100 lines and blazing fastest indentline plugin. Performance still fast on files with tens of thousands of lines. NOTE: it only works on current buffer that's mean you can't see any indent char on non current buffer.

indentmini

Install

install with any plugin management or default vim package.

Config

available config values in setup table.

  • char -- string type default is ,
  • 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

About

A minimal and blazing fast indentline plugin

License:MIT License


Languages

Language:Lua 100.0%