Disable color and minor syntax additions
This commit is contained in:
parent
099129e08c
commit
20f025a225
2 changed files with 5 additions and 6 deletions
|
@ -33,8 +33,9 @@ endfunction
|
|||
|
||||
function! s:IdrisCommand(...)
|
||||
let idriscmd = shellescape(join(a:000))
|
||||
" echo("idris2 " . expand ('%:p') . " --client " . idriscmd)
|
||||
return system("idris2 --find-ipkg " . shellescape(expand('%:p')) . " --client " . idriscmd)
|
||||
" Vim does not support ANSI escape codes natively, so we need to disable
|
||||
" automatic colouring
|
||||
return system("idris2 --no-color --find-ipkg " . shellescape(expand('%:p')) . " --client " . idriscmd)
|
||||
endfunction
|
||||
|
||||
function! IdrisDocFold(lineNum)
|
||||
|
@ -95,7 +96,7 @@ endfunction
|
|||
function! IdrisReload(q)
|
||||
w
|
||||
let file = expand('%:p')
|
||||
let tc = system("idris2 --find-ipkg " . shellescape(file) . " --client ''")
|
||||
let tc = system("idris2 --no-color --find-ipkg " . shellescape(file) . " --client ''")
|
||||
if (! (tc is ""))
|
||||
call IWrite(tc)
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue