Skip to content

TSSstarthere fails with python errror, vim.eval("g:TSS") failing. #7

@i-e-b

Description

@i-e-b

After following the read-me instructions, and running :TSSstarthere in gVim,
The line
cmd = vim.eval("g:TSS")+vim.eval("a:000") (around line 470 of typescript_tss.vim)
is failing with
TypeError cannot concatenate 'str' and 'list' objects

This seems to be due to vim.eval("g:TSS") resulting in 0
I removed the test if !exists("g:TSS")... so it should always let g:TSS..., but that did not help.

Changing the failing line to cmd = ["tss","--module","commonjs"]+vim.eval("a:000") fixes the problem for me, but there seems to be a problem evaluating g:TSS

OS is Windows 7, Python version is 2.7.8, NodeJS 4, gVim 7.4

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