yang-vscode
yang-vscode copied to clipboard
IntelliSense code completion does not respect yang.settings diagnostic indentation value
With yang.settings diagnostic indentation value set to " " (two spaces), following code completion was attempted
After selection of a completion offer, the indentation is seemingly based on the default value " ", and moreover indentation is not consistent within the block as seen below.
Formatting the document does respect the yang.settings diagnostic indentation value as seen below, and was the expected code completion in the first place.
I have observed similar behavior in an under development emacs-lsp/lsp-mode#4355 plugin, so it seems that behavior lies within TypeFox/yang-lsp.