Browse Source

Add a vim modeline to all C source

Most of the files already had this, at least.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Uli Schlachter 3 years ago
parent
commit
a141370704
11 changed files with 22 additions and 2 deletions
  1. 2
    0
      awesome-version-internal.h
  2. 2
    0
      build-tests/__builtin_clz.c
  3. 2
    0
      common/buffer.c
  4. 2
    0
      common/buffer.h
  5. 2
    0
      common/lualib.c
  6. 2
    0
      common/version.h
  7. 2
    0
      config.h
  8. 2
    0
      xkb.c
  9. 2
    1
      xkb.h
  10. 2
    0
      xrdb.c
  11. 2
    1
      xrdb.h

+ 2
- 0
awesome-version-internal.h View File

@@ -5,3 +5,5 @@
5 5
 #define AWESOME_RELEASE             "@AWESOME_RELEASE@"
6 6
 
7 7
 #endif //_AWE_VERSION_INTERNAL_H_
8
+
9
+// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

+ 2
- 0
build-tests/__builtin_clz.c View File

@@ -10,3 +10,5 @@ main(void)
10 10
 
11 11
 	return (__builtin_clz(42));
12 12
 }
13
+
14
+// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

+ 2
- 0
common/buffer.c View File

@@ -113,3 +113,5 @@ buffer_detach(buffer_t *buf)
113 113
     buffer_init(buf);
114 114
     return res;
115 115
 }
116
+
117
+// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

+ 2
- 0
common/buffer.h View File

@@ -195,3 +195,5 @@ void buffer_addf(buffer_t *buf, const char *fmt, ...)
195 195
     __attribute__((format(printf, 2, 3)));
196 196
 
197 197
 #endif
198
+
199
+// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

+ 2
- 0
common/lualib.c View File

@@ -61,3 +61,5 @@ void luaA_dumpstack(lua_State *L)
61 61
     }
62 62
     fprintf(stderr, "------- Lua stack dump end ------\n");
63 63
 }
64
+
65
+// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

+ 2
- 0
common/version.h View File

@@ -27,3 +27,5 @@ const char *awesome_version_string(void);
27 27
 const char *awesome_release_string(void);
28 28
 
29 29
 #endif
30
+
31
+// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

+ 2
- 0
config.h View File

@@ -10,3 +10,5 @@
10 10
 #cmakedefine HAS___BUILTIN_CLZ
11 11
 
12 12
 #endif //_CONFIG_H_
13
+
14
+// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

+ 2
- 0
xkb.c View File

@@ -315,3 +315,5 @@ xkb_free(void)
315 315
                           0);
316 316
     xkb_free_keymap();
317 317
 }
318
+
319
+// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

+ 2
- 1
xkb.h View File

@@ -33,5 +33,6 @@ int luaA_xkb_set_layout_group(lua_State *L);
33 33
 int luaA_xkb_get_layout_group(lua_State *L);
34 34
 int luaA_xkb_get_group_names(lua_State *L);
35 35
 
36
-
37 36
 #endif
37
+
38
+// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

+ 2
- 0
xrdb.c View File

@@ -74,3 +74,5 @@ int luaA_xrdb_get_value(lua_State *L) {
74 74
     return 0;
75 75
   }
76 76
 }
77
+
78
+// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

+ 2
- 1
xrdb.h View File

@@ -26,5 +26,6 @@
26 26
 
27 27
 int luaA_xrdb_get_value(lua_State *L);
28 28
 
29
-
30 29
 #endif
30
+
31
+// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

Loading…
Cancel
Save