editorconfig: Update

This commit is contained in:
Ryan Pavlik 2021-04-13 11:31:34 -05:00
parent f537d115fe
commit 64c56ef8d0
2 changed files with 13 additions and 3 deletions

View file

@ -1,8 +1,8 @@
# To use this config on you editor, follow the instructions at: # To use this config on your editor, follow the instructions at:
# http://editorconfig.org # http://editorconfig.org
# SPDX-License-Identifier: CC0-1.0 # SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: 2018-2020 Collabora, Ltd. and the Monado contributors # SPDX-FileCopyrightText: 2018-2021 Collabora, Ltd. and the Monado contributors
root = true root = true
@ -13,7 +13,7 @@ insert_final_newline = true
[*.{c,h,cpp}] [*.{c,h,cpp}]
indent_style = tab indent_style = tab
indent_size = 8 indent_size = 8
max_line_length = 80 max_line_length = 120
[*.py] [*.py]
indent_size = 4 indent_size = 4

10
src/xrt/.editorconfig Normal file
View file

@ -0,0 +1,10 @@
# To use this config on your editor, follow the instructions at:
# http://editorconfig.org
# SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: 2018-2021 Collabora, Ltd. and the Monado contributors
[*]
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true