mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-20 08:00:09 +01:00
Use editorconfig instead of a sprinkling of :vim: instructions
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
cda3dc664a
commit
13775b56e5
7 changed files with 21 additions and 11 deletions
21
.editorconfig
Normal file
21
.editorconfig
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
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
|
||||||
|
|
||||||
|
[*.py]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
charset = utf-8
|
||||||
|
|
||||||
|
[*.{yaml,tmpl}]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
charset = utf-8
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
# vim: set expandtab shiftwidth=2 tabstop=8 textwidth=0 filetype=yaml:
|
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
# #
|
# #
|
||||||
# THIS FILE IS GENERATED, DO NOT EDIT #
|
# THIS FILE IS GENERATED, DO NOT EDIT #
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,4 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# vim: set expandtab shiftwidth=4:
|
|
||||||
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
|
|
||||||
#
|
#
|
||||||
# This script tests a few things against the commit messages, search for
|
# This script tests a few things against the commit messages, search for
|
||||||
# `def test_` to see the actual tests run.
|
# `def test_` to see the actual tests run.
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# vim: set expandtab shiftwidth=4:
|
|
||||||
|
|
||||||
# This file generates the .gitlab-ci.yml file that defines the pipeline.
|
# This file generates the .gitlab-ci.yml file that defines the pipeline.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,6 @@
|
||||||
# vim: set expandtab shiftwidth=2 tabstop=8 textwidth=0:
|
|
||||||
#
|
|
||||||
# This file contains the configuration for the gitlab ci.
|
# This file contains the configuration for the gitlab ci.
|
||||||
# See the .gitlab-ci/generate-gitlab-ci.py file for more info
|
# See the .gitlab-ci/generate-gitlab-ci.py file for more info
|
||||||
|
|
||||||
|
|
||||||
distributions:
|
distributions:
|
||||||
- name: fedora
|
- name: fedora
|
||||||
version: '30'
|
version: '30'
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
# vim: set expandtab shiftwidth=2 tabstop=8 textwidth=0 filetype=yaml:
|
|
||||||
|
|
||||||
{# You're looking at the template here, so you can ignore the below
|
{# You're looking at the template here, so you can ignore the below
|
||||||
warning. This is the right file to edit #}
|
warning. This is the right file to edit #}
|
||||||
########################################
|
########################################
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# vim: set expandtab shiftwidth=4:
|
|
||||||
#
|
#
|
||||||
# Parses linux/input.h scanning for #define KEY_FOO 134
|
# Parses linux/input.h scanning for #define KEY_FOO 134
|
||||||
# Prints C header files or Python files that can be used as
|
# Prints C header files or Python files that can be used as
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue