Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IntelliSense code completion does not respect yang.settings diagnostic indentation value #83

Open
esmasth opened this issue Mar 2, 2024 · 1 comment

Comments

@esmasth
Copy link
Contributor

esmasth commented Mar 2, 2024

With yang.settings diagnostic indentation value set to " " (two spaces), following code completion was attempted
image

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.
image

Formatting the document does respect the yang.settings diagnostic indentation value as seen below, and was the expected code completion in the first place.
image

@esmasth
Copy link
Contributor Author

esmasth commented Mar 12, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant