baverman / vial

A framework to develop plugins for Vim in python
MIT License
10 stars 1 forks source link

Hardcoded log path makes vial unusable on Windows #7

Open Anrock opened 5 years ago

Anrock commented 5 years ago
  1. Be on Win10, install vial
  2. Remove C:/tmp directory if you have it (i've moved my %TMP and %TEMP% to D: long time ago)
  3. Launch nvim (vim not tested, probably same)
  4. vial produces error message on start about not being able to access C:/tmp

Removing/commenting out line 31 in vial/__init__.py: root_logger.addHandler(logging.FileHandler('/tmp/vial-error.log')) fixes this.