maralla / completor.vim

Async completion framework made ease.
MIT License
1.27k stars 63 forks source link

How to log an LSP output without the use of `let g:completor_debug = 1`? #321

Closed stefanos82 closed 11 months ago

stefanos82 commented 1 year ago

I'm currently playing with Zig language and have configured its zls language server.

I'm currently facing a problem with it and they (the people who either develop it or support it via Discussions) want me to report the debug output it produces, but I have no idea how to save the output nor where to look for it or even monitor it in real time.

The command I use for setting up the LSP is

let g:completor_filetype_map.zig = {'ft': 'lsp', 'cmd': 'zls --enable-debug-log'}

Is there any way to open a terminal window or something alike, so I could observe its generated output?