summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-04-11 21:59:25 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2018-04-11 22:03:07 -0700
commita6dff17abfd0a19f18105fd14e72a8b84d128bba (patch)
treeb6ed9b64222beb16be6e40c0e060113ede5b8467 /.vimrc
parent899fb9185114bc5db6b131d27f6769e17697f052 (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: I5c1ca4094f88e6ee9bf3fd921c6b8059d7027303 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
new file mode 100644
index 0000000..8bb4b4b
--- /dev/null
+++ b/.vimrc
@@ -0,0 +1 @@
+autocmd Filetype cpp set ts=4 sw=4 noexpandtab