gbrlsnchs / indent-blankline.nvim

Indent guides for Neovim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Indent Blankline

This plugin adds indentation guides to all lines (including empty lines).

It uses Neovims virtual text feature and no conceal

This plugin requires Neovim 0.5 or higher. It makes use of Neovim only features so it will not work in Vim. There is a legacy version of the plugin that supports Neovim 0.4 under the branch version-1

Settings

A lot of Yggdroot/indentLine options should work out of the box.

Please see :help indent_blankline.txtfor more details.

Install

Use your favourite plugin manager to install.

Example with Packer

wbthomason/packer.nvim

-- init.lua
require("packer").startup(
    function()
        use "lukas-reineke/indent-blankline.nvim"
    end
)

Example with Plug

junegunn/vim-plug

" init.vim
call plug#begin('~/.vim/plugged')
Plug 'lukas-reineke/indent-blankline.nvim'
call plug#end()

Screenshots

Default settings

Screenshot

With custom listchars and g:indent_blankline_space_char

Screenshot

With custom g:indent_blankline_char_highlight_list

Screenshot

With custom background highlight

Screenshot

With context indent highlighted by treesitter

Screenshot

Thanks

Special thanks to Yggdroot/indentLine

About

Indent guides for Neovim

License:MIT License


Languages

Language:Lua 78.6%Language:Vim Script 21.4%