| Issue |
52935
|
| Summary |
_javascript_WrapImports:false doesn't work with ColumnLimit:0
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
stasm
|
I've run into an issue when using `ColumnLimit: 0`. When `_javascript_WrapImports` is `false` I'd expect `clang-format` to leave line breaks in import statements as they are in the original file. Instead, it seems that `clang-format` force-wraps them:
```
$ cat .clang-format
Language: _javascript_
ColumnLimit: 0
_javascript_WrapImports: false
$ cat testcase.js
import {aaa, bbb, ccc} from "abc";
$ clang-format-mp-13 testcase.js
import {aaa,
bbb,
ccc} from "abc";
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs