Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.25 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.25 KB

indentmini.nvim

An indentation plugin born for the pursuit of minimal(~120 lines), speed(blazing fastest on files with tens of thousands of lines) and stability. It renders in the neovim screen redraw circle and will never make your neovim slow.

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'}
  • minlevel -- number the min level that show indent line default is 1
  • only_current -- boolean default is false when true will only highlight current range
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