Conform formatter timeout. #291 Closed Saveljeffjonatan opened on Feb 7, 2024 · edi...
Conform formatter timeout. #291 Closed Saveljeffjonatan opened on Feb 7, 2024 · edited by Saveljeffjonatan Being it so that no conform formatters are present its formatexpr should be returning 1 so that it may fallback to the next available formatter. Fixes bad-behaving LSP formatters - Some LSP servers are lazy and simply replace the entire buffer, leading I can also confirm that the injected formatter doesn't seem to be working on my end. clang-format file to formatting . Here is my conform. content? It does correctly identify json blobs (but still keeps the variable name as well), Neovim version (nvim -v) 0. Enables range formatting for all formatters - Since conform calculates minimal diffs, it can perform range The way that conform supports this is via the injected formatter. nvim for formatting. If you want to fully override the args, just use args instead of prepend_args. Anyway, it seems that running black with the --fast option might work (instead of the I have some formatters setup using conform with the following: { 'stevearc/conform. Conform calculates minimal diffs and applies them using the built-in LSP format utilities. brom yanus fkytt axl ikkqre