Skip to content
Discussion options

You must be logged in to vote

This is the intended behavior: force write will attempt to use LSP formatting if available and that can take a while if the language server is being slow. Forcing a write will create parent directories if they don't already exist and will overwrite files that were modified externally. For a situation like this you would instead want a flag for :w or :w! that would skip formatting (this doesn't exist yet) or you can use :set auto-format false.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by hakan-demirli
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #13047 on March 07, 2025 13:54.