diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-04-11 21:59:25 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-04-16 10:25:55 -0700 |
commit | 89c7774e4f6543f02f40220b21af3f49084c4982 (patch) | |
tree | 666c65bbaff405a5f7e42acf59882b6e25f478ed /.vimrc | |
parent | 2f6b71795d8f6479eae77edc69d49519dc4b5513 (diff) |
vimrc: add project startup file for vim
To avoid corrupting syntax in project we need to add an per project
.vimrc to signal formatting. You must enable in user home directory
.vimrc with 'set exrc' and 'set secure' lines
Bug-AGL: SPEC-1387
Change-Id: I2b1162aac5ae359ded2ceabef8f62316d12e5228
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -0,0 +1,2 @@ +autocmd BufEnter,BufNew *.c set ts=4 sw=4 expandtab +autocmd BufEnter,BufNew *.h set ts=4 sw=4 expandtab |