FrigoEU / psc-ide-vim

Vim plugin for psc-ide
96 stars 36 forks source link

Incompatible with vim option "autochdir" #149

Open ssadler opened 5 years ago

ssadler commented 5 years ago

I think this might be related to #41. If the autochdir option is set, the plugin seems to locate the root folder but doesn't start purs ide correctly.

> ps aux | grep 'purs ide'
me    14171 69.5  3.4 1074570396 275192 pts/4 Sl+ 12:12   0:08 purs ide server -p 4242 -d /home/me/code/project src/**/*.purs bower_components/**/*.purs spago: There's no "spago.dhall" in your current location.  If you already have a spago project you might be in the wrong subdirectory, otherwise you might want to run `spago init` to initialize a new project.

# Vim shows error:
purs ide: Couldn't find file at: "/home/me/code/project/", Error: /home/me/code/project/: openBinaryFile: inappropriate type (is a directory)