Error Vim:E730: Using List as a String
lambtho12 opened this issue · 2 comments
lambtho12 commented
Upon opening any *.beancount
file, 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.
lambtho12 commented
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 commented
closing for now , if you still have issues let me know