Skip to content
Snippets Groups Projects
Commit 6438c2f4 authored by Martin Liska's avatar Martin Liska Committed by Martin Liska
Browse files

vimrc: fix TAB settings

2017-01-05  Martin Liska  <mliska@suse.cz>

	* vimrc: Update indentation definition.

From-SVN: r244094
parent d80c6d02
No related branches found
No related tags found
No related merge requests found
2017-01-05 Martin Liska <mliska@suse.cz>
* vimrc: Update indentation definition.
2017-01-04 Jakub Jelinek <jakub@redhat.com>
* update-copyright.py (GCCCmdLine): Add include, libcc1, libiberty,
......
......@@ -35,7 +35,10 @@ function! SetStyle()
let l:c_exts = ['c', 'h', 'cpp', 'cc', 'C', 'H', 'def', 'java']
if index(l:c_exts, l:ext) != -1
setlocal cindent
setlocal tabstop=8
setlocal softtabstop=2
setlocal shiftwidth=2
setlocal noexpandtab
setlocal cinoptions=>4,n-2,{2,^-2,:2,=2,g0,f0,h2,p4,t0,+2,(0,u0,w1,m0
setlocal textwidth=80
setlocal formatoptions-=ro formatoptions+=cqlt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment