Add folding for rust and ruby

This commit is contained in:
Daniel Lynn 2021-08-11 11:15:24 -05:00
parent f360b0af31
commit 3e9a9704a2
Signed by: daniel
GPG Key ID: 28496A140E180A9D
3 changed files with 13 additions and 0 deletions

1
nvim/ruby.vimrc Normal file
View File

@ -0,0 +1 @@
let g:ruby_fold = 1

1
nvim/rust.vimrc Normal file
View File

@ -0,0 +1 @@
let g:rust_fold = 1

11
vimrc
View File

@ -13,6 +13,7 @@ set expandtab
set exrc
set fillchars=vert:▐
set foldlevelstart=1
set foldmethod=manual
set hidden
set history=50
set incsearch
@ -116,6 +117,16 @@ if filereadable(expand("~/.config/nvim/markdown.vimrc"))
source ~/.config/nvim/markdown.vimrc
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
if filereadable(expand("~/.config/nvim/colors.vimrc"))
source ~/.config/nvim/colors.vimrc