onivim/oni

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

Open

#893 ouverte le 8 nov. 2017

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)TypeScript (336 forks)batch import
bughelp wantedlanguage-integration

Métriques du dépôt

Stars
 (11 389 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur