From 08024e9a5df285e74577d7228d2d33a504bcb023 Mon Sep 17 00:00:00 2001 From: katherine Date: Fri, 5 Oct 2018 04:34:06 -0700 Subject: better comments for asm and coffeescript --- .vimrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 28fc390..7c0fe43 100644 --- a/.vimrc +++ b/.vimrc @@ -25,6 +25,7 @@ Plugin 'wlangstroth/vim-racket' Plugin 'rust-lang/rust.vim' Plugin 'cakebaker/scss-syntax.vim' Plugin 'cespare/vim-toml' +Plugin 'rhysd/vim-crystal' "FUNCTIONALITY Plugin 'junegunn/vim-easy-align' @@ -257,6 +258,7 @@ autocmd FileType c call Settings_c() autocmd FileType coffee call Settings_coffee() autocmd FileType conf call Settings_conf() autocmd FileType cpp call Settings_c() +autocmd FileType crystal call Settings_elixir() autocmd FileType cs call Settings_c() autocmd FileType css call Settings_css() autocmd FileType d call Settings_c() @@ -320,6 +322,7 @@ function! Settings_asm() setlocal foldmethod=syntax "mappings nnoremap -- A; + nnoremap -_ O; endfunction function! Settings_c() @@ -342,6 +345,7 @@ function! Settings_coffee() setlocal softtabstop=2 "mappings nnoremap -- O# + nnoremap -_ O######O endfunction function! Settings_conf() @@ -373,6 +377,7 @@ function! Settings_ia64() setlocal foldmethod=syntax "mappings nnoremap -- A*/hhi/* + nnoremap -_ O*/hhi/* endfunction function! Settings_haskell() -- cgit v1.2.3