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>
This commit is contained in:
Uli Schlachter 2015-12-12 17:37:35 +01:00
parent 5db6c04c42
commit a141370704
11 changed files with 22 additions and 2 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

2
xkb.c
View file

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

3
xkb.h
View file

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

2
xrdb.c
View file

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

3
xrdb.h
View file

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