diff --git a/nvim/ruby.vimrc b/nvim/ruby.vimrc new file mode 100644 index 0000000..2f5c33a --- /dev/null +++ b/nvim/ruby.vimrc @@ -0,0 +1 @@ +let g:ruby_fold = 1 diff --git a/nvim/rust.vimrc b/nvim/rust.vimrc new file mode 100644 index 0000000..0bc83fa --- /dev/null +++ b/nvim/rust.vimrc @@ -0,0 +1 @@ +let g:rust_fold = 1 diff --git a/vimrc b/vimrc index e1775fe..ab494b9 100644 --- a/vimrc +++ b/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