diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-06-03 15:40:15 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-06-03 15:40:15 +0200 |
| commit | 800b3c5f0a8e773e3e0f18f262eb4c3c485b21b4 (patch) | |
| tree | dc8b90f4a790207d8520f6efa876a733cc662236 /.vimrc | |
| parent | 5260c02746f0825ee90eb56c4fe91a6bf39cc9cc (diff) | |
| download | dotfiles-800b3c5f0a8e773e3e0f18f262eb4c3c485b21b4.tar.gz dotfiles-800b3c5f0a8e773e3e0f18f262eb4c3c485b21b4.tar.bz2 dotfiles-800b3c5f0a8e773e3e0f18f262eb4c3c485b21b4.zip | |
vim haskell formating, removed auto wrapping, zsh alias
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -24,7 +24,8 @@ set autowrite " auto write buf on certain events set hidden " keep change in buffer when quitting window set noswapfile " disable swap files set scrolloff=2 " line padding when scrolling -set textwidth=89 " when line wrap occurs +set textwidth=0 " when line wrap occurs +set wrapmargin=0 " disable auto line wrapping set encoding=utf-8 " utf-8 encoding set formatoptions-=t " do not auto break line > 89 character filetype plugin indent on " allow to add specific rules for certain type of file @@ -225,6 +226,8 @@ autocmd Filetype c setlocal noexpandtab autocmd Filetype cpp nnoremap <leader>cout istd::cout << << std::endl;<ESC>2F<hi " vim fold method to marker autocmd Filetype vim setlocal foldmethod=marker + +autocmd FileType haskell set formatprg=stylish-haskell " }}} """""""""""" |
