All Projects → lukas-reineke → Indent Blankline.nvim

lukas-reineke / Indent Blankline.nvim

Indent guides for Neovim

Projects that are alternatives of or similar to Indent Blankline.nvim

Animate.vim
A Vim Window Animation Library
Stars: ✭ 173 (-14.78%)
Mutual labels:  neovim, vim-plugin, neovim-plugin
Visual Split.vim
Vim plugin to control splits with visual selections or text objects
Stars: ✭ 190 (-6.4%)
Mutual labels:  neovim, vim-plugin, neovim-plugin
Vim Markdown Composer
An asynchronous markdown preview plugin for Vim and Neovim.
Stars: ✭ 501 (+146.8%)
Mutual labels:  neovim, vim-plugin, neovim-plugin
Neotex
latex live preview - plugin for neovim and vim 8
Stars: ✭ 170 (-16.26%)
Mutual labels:  neovim, vim-plugin, neovim-plugin
Neovim Fuzzy
Fuzzy file finding for neovim
Stars: ✭ 103 (-49.26%)
Mutual labels:  neovim, vim-plugin, neovim-plugin
Lens.vim
A Vim Automatic Window Resizing Plugin
Stars: ✭ 381 (+87.68%)
Mutual labels:  neovim, vim-plugin, neovim-plugin
Context.vim
Vim plugin that shows the context of the currently visible buffer contents
Stars: ✭ 688 (+238.92%)
Mutual labels:  neovim, vim-plugin, neovim-plugin
Dashboard Nvim
vim dashboard
Stars: ✭ 294 (+44.83%)
Mutual labels:  neovim, vim-plugin, neovim-plugin
Asyncrun.vim
🚀 Run Async Shell Commands in Vim 8.0 / NeoVim and Output to the Quickfix Window !!
Stars: ✭ 1,332 (+556.16%)
Mutual labels:  neovim, vim-plugin, neovim-plugin
Todoist.nvim
A todoist extension for neovim
Stars: ✭ 84 (-58.62%)
Mutual labels:  neovim, vim-plugin, neovim-plugin
Vim Dadbod Completion
Database autocompletion powered by https://github.com/tpope/vim-dadbod
Stars: ✭ 163 (-19.7%)
Mutual labels:  neovim, vim-plugin, neovim-plugin
Vim Clap
👏 Modern performant fuzzy picker for Vim and NeoVim
Stars: ✭ 1,802 (+787.68%)
Mutual labels:  neovim, vim-plugin, neovim-plugin
Targets.vim
Vim plugin that provides additional text objects
Stars: ✭ 2,114 (+941.38%)
Mutual labels:  neovim, vim-plugin, neovim-plugin
Tmux Complete.vim
Vim plugin for insert mode completion of words in adjacent tmux panes
Stars: ✭ 447 (+120.2%)
Mutual labels:  neovim, vim-plugin, neovim-plugin
Barbar.nvim
A neovim tabline plugin.
Stars: ✭ 359 (+76.85%)
Mutual labels:  neovim, vim-plugin, neovim-plugin
Alchemist.vim
Elixir Integration Into Vim
Stars: ✭ 632 (+211.33%)
Mutual labels:  neovim, vim-plugin, neovim-plugin
Gen tags.vim
Async plugin for vim and neovim to ease the use of ctags/gtags
Stars: ✭ 288 (+41.87%)
Mutual labels:  neovim, vim-plugin, neovim-plugin
Blamer.nvim
A git blame plugin for neovim inspired by VS Code's GitLens plugin
Stars: ✭ 283 (+39.41%)
Mutual labels:  neovim, vim-plugin, neovim-plugin
Crease.vim
Easy foldtext customization for [neo]vim.
Stars: ✭ 19 (-90.64%)
Mutual labels:  neovim, vim-plugin, neovim-plugin
Nvim Treesitter Context
Show code context
Stars: ✭ 113 (-44.33%)
Mutual labels:  neovim, vim-plugin, neovim-plugin

Indent Blankline

This plugin adds indentation guides to empty lines.

It is recommended, but not required, to use it together with Yggdroot/indentLine.

This plugin requires Neovim 0.4.0 or higher. It makes use of Neovim only features so it will not work in Vim.

Note

If you are using Neomvim 0.5, you should use the lua branch.
It is much faster and has real-time update support.
It will become the default once Neovim 0.5 is released.

Details

indent-blankline uses the virtual text feature from Neovim to display indentation guides on empty lines.
Virtual text can currently only be added after the end of the line, so it is not possible to use this to display indentation guides on lines with text.

The indentation level is generated like Neovim would generate normal indentation.
If indentexpr is empty, it uses cindent().
If indentexpr is set to lisp, it uses lispindent().
If indentexpr is set to anything else, it uses that function.

The lines to indent and the level of indentation is computed asynchronously with an embedded read-only instance of Neovim.

This makes generation of indentation not affect normal editing. But it could be resource intensive.
indent-blankline needs to open buffers in read-only mode with autocommands, to set up the correct indentexpr. In most cases this should not cause issues, but if you have side effects defined for opening buffers, this might lead to undesired execution of those.

A possible solution for this would be to check if Neovim has a UI attached before running such side effects.

if len(nvim_list_uis())
    " your side effect code
endif

IndentLine dependency

indent-blankline does not require the indentLine Plugin. But it is recommended to use the two together.

Almost all settings from indentLine will work seamlessly with indent-blankline as well without any setup.

Settings

Please see :help indent_blankline.txt

Screenshots

Screenshots are made together with indentLine

Default settings

Screenshot

With custom listchars and g:indent_blankline_space_char

Screenshot

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].