mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Merge pull request #2907 from keplersj/clang-format
Add .clang-format as a YAML file
This commit is contained in:
committed by
Arfon Smith
parent
84471a5463
commit
2012647f78
18
samples/YAML/filenames/.clang-format
Normal file
18
samples/YAML/filenames/.clang-format
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
# We'll use defaults from the LLVM style, but with 4 columns indentation.
|
||||
BasedOnStyle: LLVM
|
||||
IndentWidth: 4
|
||||
---
|
||||
Language: Cpp
|
||||
# Force pointers to the type for C++.
|
||||
DerivePointerAlignment: false
|
||||
PointerAlignment: Left
|
||||
---
|
||||
Language: JavaScript
|
||||
# Use 100 columns for JS.
|
||||
ColumnLimit: 100
|
||||
---
|
||||
Language: Proto
|
||||
# Don't format .proto files.
|
||||
DisableFormat: true
|
||||
...
|
||||
Reference in New Issue
Block a user