feat: add config option lsp_output "quiet" to reduce LSP log verbosity
Set the option to "verbose" to re-enable logging of LSP show/logMessage requests.
This commit is contained in:
parent
72423471f1
commit
69ea495495
4 changed files with 18 additions and 4 deletions
|
@ -122,6 +122,8 @@ fn init(allocator: Allocator) InitError!*Self {
|
|||
const frame_time = std.time.us_per_s / conf.frame_rate;
|
||||
const frame_clock = try tp.metronome.init(frame_time);
|
||||
|
||||
tp.env.get().set("lsp_verbose", conf.lsp_output == .verbose);
|
||||
|
||||
var self = try allocator.create(Self);
|
||||
// don't destroy
|
||||
// if tui fails it is catastrophic anyway and we don't want to cause nock-on errors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue