Update indent guides

This commit is contained in:
Daniel Lynn 2021-09-15 15:35:52 -05:00
parent 6a9d041bd5
commit c5ef9f6afb
Signed by: daniel
GPG Key ID: 28496A140E180A9D
4 changed files with 8 additions and 15 deletions

View File

@ -49,5 +49,6 @@
"snippets.textmateSnippetsRoots": [ "snippets.textmateSnippetsRoots": [
"~/.config/coc/snippets" "~/.config/coc/snippets"
], ],
"rust-analyzer.checkOnSave.command": "clippy" "rust-analyzer.checkOnSave.command": "clippy",
"solargraph.folding": true
} }

View File

@ -111,7 +111,7 @@ xmap <silent> <C-s> <Plug>(coc-range-select)
command! -nargs=0 Format :call CocAction('format') command! -nargs=0 Format :call CocAction('format')
" Add `:Fold` command to fold current buffer. " Add `:Fold` command to fold current buffer.
command! -nargs=? Fold :call CocAction('fold', <f-args>) "command! -nargs=? Fold :call CocAction('fold', <f-args>)
" Add `:OR` command for organize imports of the current buffer. " Add `:OR` command for organize imports of the current buffer.
command! -nargs=0 OR :call CocAction('runCommand', 'editor.action.organizeImport') command! -nargs=0 OR :call CocAction('runCommand', 'editor.action.organizeImport')

View File

@ -8,5 +8,7 @@ require("indent_blankline").setup {
"IndentBlanklineContext5", "IndentBlanklineContext5",
"IndentBlanklineContext6", "IndentBlanklineContext6",
}, },
show_end_of_line = true,
show_current_context = true, show_current_context = true,
use_treesitter = true,
} }

16
vimrc
View File

@ -12,8 +12,8 @@ set encoding=utf-8
set expandtab set expandtab
set exrc set exrc
set fillchars=vert:▐ set fillchars=vert:▐
set foldlevelstart=1 set foldmethod=expr
set foldmethod=manual set foldexpr=nvim_treesitter#foldexpr()
set hidden set hidden
set history=50 set history=50
set incsearch set incsearch
@ -98,7 +98,7 @@ if filereadable(expand("~/.config/nvim/git.vimrc"))
source ~/.config/nvim/git.vimrc source ~/.config/nvim/git.vimrc
endif endif
" NERDTree setup " Tree setup
if filereadable(expand("~/.config/nvim/nvimtree.vimrc")) if filereadable(expand("~/.config/nvim/nvimtree.vimrc"))
source ~/.config/nvim/nvimtree.vimrc source ~/.config/nvim/nvimtree.vimrc
endif endif
@ -123,16 +123,6 @@ if filereadable(expand("~/.config/nvim/markdown.vimrc"))
source ~/.config/nvim/markdown.vimrc source ~/.config/nvim/markdown.vimrc
endif endif
" Ruby setup
if filereadable(expand("~/.config/nvim/ruby.vimrc"))
source ~/.config/nvim/ruby.vimrc
endif
" Rust setup
if filereadable(expand("~/.config/nvim/rust.vimrc"))
source ~/.config/nvim/rust.vimrc
endif
" Color setup " Color setup
if filereadable(expand("~/.config/nvim/colors.vimrc")) if filereadable(expand("~/.config/nvim/colors.vimrc"))
source ~/.config/nvim/colors.vimrc source ~/.config/nvim/colors.vimrc