Add folding for rust and ruby
This commit is contained in:
parent
f360b0af31
commit
3e9a9704a2
1
nvim/ruby.vimrc
Normal file
1
nvim/ruby.vimrc
Normal file
@ -0,0 +1 @@
|
||||
let g:ruby_fold = 1
|
1
nvim/rust.vimrc
Normal file
1
nvim/rust.vimrc
Normal file
@ -0,0 +1 @@
|
||||
let g:rust_fold = 1
|
11
vimrc
11
vimrc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user