summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2023-01-20 10:57:35 -0700
committerJosh Rahm <rahm@google.com>2023-01-20 10:57:35 -0700
commitcf185a50e8f358f1128d949446e4d9f2df517d9c (patch)
tree55ccf049bd636bb931887906bb9e34698da87657
parentb36af394ed88077828eed14dbaf379a5c89dece0 (diff)
downloadconfig.vim-cf185a50e8f358f1128d949446e4d9f2df517d9c.tar.gz
config.vim-cf185a50e8f358f1128d949446e4d9f2df517d9c.tar.bz2
config.vim-cf185a50e8f358f1128d949446e4d9f2df517d9c.zip
Add indent-blankline plugin
-rw-r--r--init.vim12
1 files changed, 10 insertions, 2 deletions
diff --git a/init.vim b/init.vim
index 051345a..fe23210 100644
--- a/init.vim
+++ b/init.vim
@@ -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