diff options
author | katherine <shmibs@shmibbles.me> | 2018-10-05 04:34:06 -0700 |
---|---|---|
committer | katherine <shmibs@shmibbles.me> | 2018-10-05 04:34:06 -0700 |
commit | 08024e9a5df285e74577d7228d2d33a504bcb023 (patch) | |
tree | 30940527e2967ee76d1293e6a7825c3b8740ec8b | |
parent | a0152dc3a4ecce0ddc70fa7263d951e50b3cc8d3 (diff) | |
download | dotfiles-08024e9a5df285e74577d7228d2d33a504bcb023.tar.gz |
better comments for asm and coffeescript
-rw-r--r-- | .vimrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 <buffer> -- A<Tab>;<Space> + nnoremap <buffer> -_ O;<Space> endfunction function! Settings_c() @@ -342,6 +345,7 @@ function! Settings_coffee() setlocal softtabstop=2 "mappings nnoremap <buffer> -- O#<Space> + nnoremap <buffer> -_ O###<CR><C-u>###<Esc>O<C-u> endfunction function! Settings_conf() @@ -373,6 +377,7 @@ function! Settings_ia64() setlocal foldmethod=syntax "mappings nnoremap <buffer> -- A<Space>*/<Esc>hhi<Tab>/*<Space> + nnoremap <buffer> -_ O<Space>*/<Esc>hhi/*<Space> endfunction function! Settings_haskell() |