Linda_pp
                                            Linda_pp
                                        
                                    I added code to maintain fold level at cursor line as much as possible in 1cf402c. Please try the latest and check the behavior is what you want.
I think quoting command name is not good. Does escaping white spaces such as `some\ dir` work well?
I noticed that this is a problem when the command is run. I'll commit a fix for it tomorrow. Could you try it before merging this PR?
@nicber Please try latest with below config (removing quotes) ``` vim let g:clang_format#command = 'C:/Program Files (x86)/LLVM/bin/clang-format.exe' ```
Thank you for the report. It looks to resolve the quoting problem on Windows :smile: And it seems to fail to check clang version. I'll fix version check more strict....
Could you try the latest? (and please let me know the output of `clang-format --version` to fix skipping version check)
Thank you for confirmation. Hmm... I think clang-format command failed by some reason. I'll investigate it on my Windows machine (I actually don't have Windows machine for development...) Please ensure...
Thank you for making this patch. > If the 'to be formatted' buffer ends with one or several empty lines, vim-clang-format keeps one final empty line. clang-format does not let...
As long as looking code, this would break the code when formatting only line 4 of below code ```c #include int main() { std::cout
I think this would cause performance issue when the source is very large (>10000 lines). Checking string and calling `setline()` which triggers buffer change event at each line. I don't...