onivim/oni

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

Open

#893 opened on Nov 8, 2017

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (336 forks)batch import
bughelp wantedlanguage-integration

Repository metrics

Stars
 (11,389 stars)
PR merge metrics
 (No merged PRs in 30d)

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