1
0
forked from drath/libratbag

Use EditorConfig instead of vim comments

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
This commit is contained in:
Stephan Lachnit
2019-12-23 16:17:39 +01:00
committed by Peter Hutterer
parent af30fc28cd
commit f82c6f72b6
11 changed files with 20 additions and 16 deletions

View File

@@ -1,4 +1,3 @@
# vim: set expandtab shiftwidth=2 tabstop=8:
libratbag_references: libratbag_references:
build_dependencies: &build_dependencies build_dependencies: &build_dependencies
FEDORA_DEP_BUILD: gcc gcc-c++ meson dbus-daemon glib2-devel json-glib-devel libevdev-devel libudev-devel libunistring-devel python3-devel python3-evdev swig FEDORA_DEP_BUILD: gcc gcc-c++ meson dbus-daemon glib2-devel json-glib-devel libevdev-devel libudev-devel libunistring-devel python3-devel python3-evdev swig

20
.editorconfig Normal file
View File

@@ -0,0 +1,20 @@
root = true
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
[*.{c,h}]
indent_style = tab
tab_width = 8
trim_trailing_whitespace = true
[{*.{py,py.in},tools/ratbagctl.*.in}]
indent_style = space
indent_size = 4
[*.{yml,xsl}]
indent_style = space
indent_size = 2

View File

@@ -1,5 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# vim: set expandtab shiftwidth=4 tabstop=4:
# #
# Copyright © 2017 Red Hat, Inc. # Copyright © 2017 Red Hat, Inc.
# #

View File

@@ -1,5 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# vim: set expandtab shiftwidth=4 tabstop=4:
# #
# Copyright © 2018 Red Hat, Inc. # Copyright © 2018 Red Hat, Inc.
# #

View File

@@ -1,5 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# vim: set expandtab shiftwidth=4 tabstop=4:
# #
# Copyright © 2018 Red Hat, Inc. # Copyright © 2018 Red Hat, Inc.
# #

View File

@@ -1,7 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# #
# vim: set expandtab shiftwidth=4 tabstop=4:
#
# Copyright 2017 Red Hat, Inc. # Copyright 2017 Red Hat, Inc.
# #
# Permission is hereby granted, free of charge, to any person obtaining a # Permission is hereby granted, free of charge, to any person obtaining a

View File

@@ -1,5 +1,3 @@
# vim: set expandtab shiftwidth=4 tabstop=4:
#
# Copyright 2017-2019 Red Hat, Inc. # Copyright 2017-2019 Red Hat, Inc.
# #
# Permission is hereby granted, free of charge, to any person obtaining a # Permission is hereby granted, free of charge, to any person obtaining a

View File

@@ -1,7 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# #
# vim: set expandtab shiftwidth=4 tabstop=4:
#
# This file is part of libratbag. # This file is part of libratbag.
# #
# Copyright 2017 Red Hat, Inc. # Copyright 2017 Red Hat, Inc.

View File

@@ -1,7 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# #
# vim: set expandtab shiftwidth=4 tabstop=4:
#
# Copyright 2016 Red Hat, Inc. # Copyright 2016 Red Hat, Inc.
# #
# Permission is hereby granted, free of charge, to any person obtaining a # Permission is hereby granted, free of charge, to any person obtaining a

View File

@@ -1,7 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# #
# vim: set expandtab shiftwidth=4 tabstop=4:
#
# This file is part of libratbag. # This file is part of libratbag.
# #
# Copyright 2017 Red Hat, Inc. # Copyright 2017 Red Hat, Inc.

View File

@@ -1,5 +1,3 @@
# vim: set expandtab shiftwidth=4 tabstop=4:
#
# This file is part of libratbag. # This file is part of libratbag.
# #
# Copyright 2017 Red Hat, Inc. # Copyright 2017 Red Hat, Inc.