diff options
author | Josh Rahm <rahm@google.com> | 2023-01-20 10:57:35 -0700 |
---|---|---|
committer | Josh Rahm <rahm@google.com> | 2023-01-20 10:57:35 -0700 |
commit | cf185a50e8f358f1128d949446e4d9f2df517d9c (patch) | |
tree | 55ccf049bd636bb931887906bb9e34698da87657 | |
parent | b36af394ed88077828eed14dbaf379a5c89dece0 (diff) | |
download | config.vim-cf185a50e8f358f1128d949446e4d9f2df517d9c.tar.gz config.vim-cf185a50e8f358f1128d949446e4d9f2df517d9c.tar.bz2 config.vim-cf185a50e8f358f1128d949446e4d9f2df517d9c.zip |
Add indent-blankline plugin
-rw-r--r-- | init.vim | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1,4 +1,4 @@ -let g:loaded_netrw = 1 + let g:loaded_netrw = 1 let g:loaded_netrwPlugin = 1 if filereadable('/etc/hostname') @@ -39,6 +39,7 @@ Plug 'nvim-lua/plenary.nvim' Plug 'nvim-telescope/telescope.nvim' Plug 'tpope/vim-surround' +Plug 'lukas-reineke/indent-blankline.nvim' Plug 'git://git.josher.dev/fieldmarshal.vim.git' if has('rneovim') @@ -47,7 +48,6 @@ endif Plug 'git@git.josher.dev:config.vim.git', \ { 'dir': g:plug_home . '/config.vim', \ 'do': ':UpdateInitVimHook' } - call plug#end() command! UpdateInitVimHook source ~/.config/nvim/init.vim <bar> PlugInstall @@ -142,4 +142,12 @@ lua << EOF }, -- other configuration values here }) + require("indent_blankline").setup { + + -- for example, context is off by default, use this to turn it on + show_current_context = true, + show_current_context_start = true, + char_highlight_list = { "ColorColumn" } + } + EOF |