onivim/oni

'NoneType' object has no attribute 'update_document' python3 with pyls

Open

#893 opened on Nov 8, 2017

 (0 comments) (0 reactions) (0 assignees)TypeScript (297 forks)batch import
bughelp wantedlanguage-integration

Repository metrics

Stars
 (11,246 stars)
PR merge metrics
 (PR metrics pending)

Description

I'm getting errors trying to use Python3 with pyls in oni. Here's the config, and attached is the log.

const activate = (oni) => {
    console.log("config activated")
}

const deactivate = () => {
    console.log("config deactivated")
}

module.exports = {
    activate,
    deactivate,
   "oni.loadInitVim": true,
   "neovim.global.python_host_prog": "/usr/local/bin/python3"
}

-1510161973761.log

Contributor guide