forked from shader-slang/slang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
37 lines (31 loc) · 937 Bytes
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This file sets up basic text editor behavior
# using EditorConfig: http://EditorConfig.org.
#
# Some editors will import and use the settings from
# this file automatically, while others need a plugin.
# Editors are supposed to search upwards from a source
# file to find configuration settings until they see
# a "root" file. This file should be a root:
#
root = true
# Shared configuration for all C/C++ and Slang code
#
[*.{c,cpp,h,slang}]
# Use UTF-8 encoding
#
charset = utf-8
# Indent using 4 spaces.
#
indent_style = space
indent_size = 4
# Insert a newline at the end of the file
# if one is missing (this used to be officially
# required by C, but it is also just a tidyness thing)
#
insert_final_newline = true
# Remove any extra whitespace characters at the
# end of a line. This is just for tidyness, to
# minimize the chances of introducing whitspace
# diffs that are hard to spot.
#
trim_trailing_whitespace = true