Replies: 2 comments 9 replies
-
| I know there is already a lot of details in here, but there is something I am missing to fully understand the issue. Could you, please, provide a reproducible example of the issue you describe? It can be with  Quick test showed that I did not have issues with preserving indentation (although  
 
 Yes, both look like a server issues. Especially not providing insert kind before 'resolve'. This is against LSP specification and will not work in 'mini.completion'. | 
Beta Was this translation helpful? Give feedback.
-
| The 'mini.completion' part of this should now be resolved on latest  Thanks for pointing out this use case! | 
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Background: trying out mini.completion and it does not play well with ansible-language-server.
Completions contain raw tabs (
\t), accepting any completion causes raw tab to be added as-is to the document (instead of adjusted for indentation), breaking yaml format and causing new diagnostics.Server Problems:
\t). Does not check that client can handle this correctly :) I think this happens to work for vscode because it behaves differently with indentation, e.g. usesInsertTextMode=2Client Problem:
ministill doesn't expand textedits of snippet format unless they have variables or tabstops. This means snippets with\tbut no variables or tabstops won't be expanded with correct indentation. This part also seems wrong to me?Should the logic maybe be adjusted to also look for tabs? I checked that many friendly-snippets have
\tin them. Did not check any other LSP servers, and it will not solve my issue with this language server on its own, but may improve compatibility in general.snippet-hack.patch
Beta Was this translation helpful? Give feedback.
All reactions