the caas service is fully integrated now.
this commit enables it by default if your project has a nimrod.cfg config, but the results won't be satisfactory as the compiler still cannot survive the long- running interaction with the IDE and breaks after a couple of commands.
This commit is contained in:
parent
43696ec2e3
commit
ffc49b7c2a
2 changed files with 27 additions and 13 deletions
|
|
@ -15,17 +15,6 @@ setlocal commentstring=#\ %s
|
|||
setlocal omnifunc=NimComplete
|
||||
setlocal suffixesadd=.nim
|
||||
|
||||
if executable('nimrod')
|
||||
let nimrod_paths = split(system('nimrod dump'),'\n')
|
||||
let &l:path = &g:path
|
||||
|
||||
for path in nimrod_paths
|
||||
if finddir(path) == path
|
||||
let &l:path = path . "," . &l:path
|
||||
endif
|
||||
endfor
|
||||
endif
|
||||
|
||||
compiler nimrod
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue