add indent-blankline

This commit is contained in:
Ray Elliott 2022-01-22 18:39:44 +00:00
parent e9c9e10cfa
commit 8beb68162f
3 changed files with 16 additions and 2 deletions

View File

@ -72,6 +72,10 @@ Plug '~/nvim-paper-tonic'
Plug 'quangnguyen30192/cmp-nvim-ultisnips', { 'branch': 'main' }
"}}}
" #indent-blankline.nvim {{{
" https://github.com/lukas-reineke/indent-blankline.nvim
Plug 'lukas-reineke/indent-blankline.nvim'
"}}}
" keeping
" #vim-hexokinase {{{
@ -327,7 +331,7 @@ runtime macros/matchit.vim
lua <<EOF
require('init-plugins')
require('init-treesitter')
-- require('init-efm-langserver')
require('init-indent-blankline')
require('init-null-ls')
require('init-lspconfig')
require('init-cmp')

View File

@ -0,0 +1,11 @@
require("indent_blankline").setup {
space_char_blankline = " ",
show_current_context = true,
}
vim.cmd [[
highlight IndentBlanklineChar guifg=#e5e5e5 gui=nocombine
highlight IndentBlanklineContextChar guifg=#666666 gui=nocombine
]]

View File

@ -4,7 +4,6 @@ local nvim_lsp = require('lspconfig')
-- map buffer local keybindings when the language server attaches
local servers = {
-- npm i -g bash-language-server
-- TODO - don't run for sh files but have something else instead - shellcheck?
-- no formatting support
'bashls',