- Timestamp:
- 05/29/08 22:51:01 (6 months ago)
- Files:
-
- 1 modified
-
lang/vim/misc/runghc.vim (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/vim/misc/runghc.vim
r12658 r12813 9 9 10 10 func! s:Runghc() 11 let code = join(getline(1, line("$")), "\n")11 let codes = getline(1, line("$")) 12 12 let tmpfile = "/tmp/runghc-vim-tmpfile.hs" 13 13 14 exe 'bo sp [runghc]' 14 call eval("append(0, split(system('echo \"'.code.'\" > '.tmpfile.' && runghc '.tmpfile), '\n'))") 15 call writefile(codes, tmpfile) 16 call append(0, split(system('runghc '.tmpfile), '\n')) 15 17 16 18 setlocal nomodifiable
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)