[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 09/18] .editorconfig: update the automatic mode setting for Emacs
From: |
Alex Bennée |
Subject: |
[PULL 09/18] .editorconfig: update the automatic mode setting for Emacs |
Date: |
Mon, 8 Mar 2021 13:50:55 +0000 |
It seems the editor specific keywords have been deprecated in the main
editorconfig plugin:
https://github.com/editorconfig/editorconfig-emacs#file-type-file_type_ext-file_type_emacs
Update the keywords to the suggested one and point users at the
extension.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210305144839.6558-1-alex.bennee@linaro.org>
diff --git a/.editorconfig b/.editorconfig
index 22681d91c6..7303759ed7 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -4,6 +4,11 @@
# plugin.
#
# Check https://editorconfig.org for details.
+#
+# Emacs: you need https://github.com/10sr/editorconfig-custom-majormode-el
+# to automatically enable the appropriate major-mode for your files
+# that aren't already caught by your existing config.
+#
root = true
@@ -15,17 +20,17 @@ charset = utf-8
[*.mak]
indent_style = tab
indent_size = 8
-file_type_emacs = makefile
+emacs_mode = makefile
[Makefile*]
indent_style = tab
indent_size = 8
-file_type_emacs = makefile
+emacs_mode = makefile
[*.{c,h,c.inc,h.inc}]
indent_style = space
indent_size = 4
-file_type_emacs = c
+emacs_mode = c
[*.sh]
indent_style = space
@@ -34,11 +39,11 @@ indent_size = 4
[*.{s,S}]
indent_style = tab
indent_size = 8
-file_type_emacs = asm
+emacs_mode = asm
[*.{vert,frag}]
-file_type_emacs = glsl
+emacs_mode = glsl
[*.json]
indent_style = space
-file_type_emacs = python
+emacs_mode = python
--
2.20.1
- [PULL 01/18] docs/system: add a gentle prompt for the complexity to come, (continued)
- [PULL 01/18] docs/system: add a gentle prompt for the complexity to come, Alex Bennée, 2021/03/08
- [PULL 05/18] gitlab: add build-user-hexagon test, Alex Bennée, 2021/03/08
- [PULL 02/18] tests/docker: add a test-tcg for building then running check-tcg, Alex Bennée, 2021/03/08
- [PULL 04/18] tests/tcg: Use Hexagon Docker image, Alex Bennée, 2021/03/08
- [PULL 03/18] docker: Add Hexagon image, Alex Bennée, 2021/03/08
- [PULL 07/18] gitlab-ci.yml: Add jobs to test CFI flags, Alex Bennée, 2021/03/08
- [PULL 06/18] gitlab-ci.yml: Allow custom # of parallel linkers, Alex Bennée, 2021/03/08
- [PULL 11/18] hw/riscv: migrate fdt field to generic MachineState, Alex Bennée, 2021/03/08
- [PULL 14/18] docs: move generic-loader documentation into the main manual, Alex Bennée, 2021/03/08
- [PULL 08/18] tests/docker: Use --arch-only when building Debian cross image, Alex Bennée, 2021/03/08
- [PULL 09/18] .editorconfig: update the automatic mode setting for Emacs,
Alex Bennée <=
- [PULL 10/18] hw/board: promote fdt from ARM VirtMachineState to MachineState, Alex Bennée, 2021/03/08
- [PULL 13/18] hw/core: implement a guest-loader to support static hypervisor guests, Alex Bennée, 2021/03/08
- Re: [PULL 13/18] hw/core: implement a guest-loader to support static hypervisor guests, Christian Borntraeger, 2021/03/15
- Re: [PULL 13/18] hw/core: implement a guest-loader to support static hypervisor guests, Philippe Mathieu-Daudé, 2021/03/15
- Re: [PULL 13/18] hw/core: implement a guest-loader to support static hypervisor guests, Philippe Mathieu-Daudé, 2021/03/15
- Re: [PULL 13/18] hw/core: implement a guest-loader to support static hypervisor guests, Christian Borntraeger, 2021/03/15
- Re: [PULL 13/18] hw/core: implement a guest-loader to support static hypervisor guests, Philippe Mathieu-Daudé, 2021/03/15
- Re: [PULL 13/18] hw/core: implement a guest-loader to support static hypervisor guests, Alex Bennée, 2021/03/15
- Re: [PULL 13/18] hw/core: implement a guest-loader to support static hypervisor guests, Christian Borntraeger, 2021/03/15
[PULL 16/18] tests/avocado: add boot_xen tests, Alex Bennée, 2021/03/08