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:
parent
5db6c04c42
commit
a141370704
|
@ -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
|
||||
|
|
|
@ -10,3 +10,5 @@ main(void)
|
|||
|
||||
return (__builtin_clz(42));
|
||||
}
|
||||
|
||||
// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
2
config.h
2
config.h
|
@ -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
2
xkb.c
|
@ -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
3
xkb.h
|
@ -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
2
xrdb.c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue