jwortmann

Results 131 comments of jwortmann

For the diagnostics pull model it doesn't seem that difficult to implement an option for requesting diagnostics only on save, instead of after each change. We would just need to...

This is a known issue (see "LSP not initialized on views that are opened multiple times" in #2007) and it is caused by a bug in Sublime Text: https://github.com/sublimehq/sublime_text/issues/2411

From a quick look it seems like the fix would only apply if you manually call the `open_file` function from LSP/plugin/core/open.py (like, for example using LSP's "Goto Definition").

> Just wonder, why the `file: Split View` doesn't affected by that? I guess you have to ask this the ST devs, why they employ their bugs only when the...

Is that response output shortened or is it the full response? It looks quite trivial to me, while the opening post says it would be 1 MB data. Or could...

I was referring to the JSON payload in https://github.com/sublimelsp/LSP/issues/2398#issuecomment-1905698698 The markdown content is only 522 bytes, so I guess it must be shortened. Since we don't parse the content directly...

I can reproduce this issue with the provided example https://github.com/sublimelsp/LSP/issues/2398#issuecomment-1907301764 This is with the clangd version 17.0.3 that gets automatically installed by LSP-clangd when clicking "Yes" in the dialog promt...

I think the underlying problem was already extensively discussed in #1155 - without any real solution. Now with this example from Neovim there is apparently *another* client which doesn't check...

> > Decimal floats are now forced to a more explicit format. I would remove the rule with "invalid.illegal" highlighting for numbers with trailing decimal points. Otherwise you will get...

> So you are basically suggesting, I add a look-ahead for a separator (,) or end of array (]) or end of object (}) to "make sure we are done...