Skip to content

Commit

Permalink
Update vimrc with elm things
Browse files Browse the repository at this point in the history
  • Loading branch information
lyddonb committed Jul 25, 2016
1 parent 1f0ae23 commit 65ed0dc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions vim/vimrc.symlink
Expand Up @@ -95,7 +95,8 @@ Plug 'wting/rust.vim', { 'for': 'rust' }
Plug 'raichoo/purescript-vim', { 'for': ['purescript', 'purs'] }

" Elm
Plug 'lambdatoast/elm.vim', { 'for': ['elm'] }
"Plug 'lambdatoast/elm.vim', { 'for': ['elm'] }
Plug 'elmcast/elm-vim', { 'for': ['elm'] }


" GOLANG
Expand Down Expand Up @@ -289,6 +290,7 @@ if has("autocmd")

" Elm
au BufNewFile,BufRead *.elm set filetype=elm
autocmd FileType elm setlocal shiftwidth=4 tabstop=4 softtabstop=4
endif

" EDITING"
Expand Down Expand Up @@ -563,7 +565,7 @@ au Filetype nerdtree setlocal nolist

let NERDTreeHighlightCursorline=1
let NERDTreeIgnore=['.vim$', '.*\.pyc$']
let NERDTreeMinimalUI = 1
"let NERDTreeMinimalUI = 1
let NERDTreeDirArrows = 1
let NERDTreeWinSize = 30

Expand Down Expand Up @@ -655,6 +657,8 @@ augroup ft_elm
vnoremap <leader>es :<C-u>ElmEvalSelection<CR>
nnoremap <leader>em :ElmMakeCurrentFile<CR>

let g:elm_format_autosave = 1

augroup END

augroup ft_haskell
Expand Down

0 comments on commit 65ed0dc

Please sign in to comment.