Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Vim:E730: Using List as a String #33

Closed
lambtho12 opened this issue Jul 6, 2021 · 2 comments
Closed

Error Vim:E730: Using List as a String #33

lambtho12 opened this issue Jul 6, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@lambtho12
Copy link

Upon opening any *.beancountfile, I have the following message:

table 0x7f78255b5e50

Request Actions:
Type number and <Enter> or click with the mouse (q or empty cancels):

When I type <Enter>, I then get

LSP[beancount]: Error SERVER REQUEST HANDLER ERROR: "Vim:E730: using List as a String"

Here is the config I use:

local lspconfig = require 'lspconfig'
lspconfig.beancount.setup= {
    cmd = {"beancount-langserver", "--stdio"};
    init_options = {
        journalFile = "~/documents/myjournal.beancount",
        pythonPath = "/usr/bin/python3";
    };
};


From some trial and error, it seems that the issue is with the `cmd = {"beancount-langserver", "--stdio"};` part. If I remove it, I no longer have this message, but then the completion for account names no longer work.
@polarmutex polarmutex added the bug Something isn't working label Jul 6, 2021
@lambtho12
Copy link
Author

lambtho12 commented Sep 23, 2021

Error no longer present with latest git version. However, now I have the same issue as #32 and when opening a file vim says Client 1 quit with exit code 1 and signal 0

@polarmutex
Copy link
Owner

closing for now , if you still have issues let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants