Skip to content

making it work with torch #40

@kwon-young

Description

@kwon-young

Hi,
I would like to use this plugin with the framework torch.
For now, i installed the plugin with vim-plug and the plugin doesn't seem to work well.
After rapidly reading the doc, i set these settings in my vimrc:

let g:lua_interpreter_path = '/home/username/torch/install/bin/qlua'
let g:lua_internal = 0
let g:lua_complete_omni = 1

Torch installation embed a custom lua interpreter, however i'm a new to lua so i don't really know how to configure the plugin to make things work.

When i try the omni completion, i have the following error:

E121: Undefined Variable: Torch

Also the gf mapping doesn't really work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions