]> git.ipfire.org Git - thirdparty/systemd.git/blame - .vimrc
Merge pull request #5409 from keszybz/test-env-util-memleak
[thirdparty/systemd.git] / .vimrc
CommitLineData
c97e8d10 1" 'set exrc' in ~/.vimrc will read .vimrc from the current directory
f1d075ff
CH
2" Warning: Enabling exrc is dangerous! You can do nearly everything from a
3" vimrc configuration file, including write operations and shell execution.
4" You should consider setting 'set secure' as well, which is highly
5" recommended!
2eb169bd
LP
6
7" Note that we set a line width of 119 for .c and XML files, but for everything
8" else (such as journal catalog files, unit files, README files) we stick to a
9" more conservative 79 characters.
10
11" NOTE: If you update this file make sure to update .dir-locals.el and
12" .editorconfig, too.
13
c97e8d10
KS
14set tabstop=8
15set shiftwidth=8
16set expandtab
3396c37f 17set makeprg=GCC_COLORS=\ make
2eb169bd 18set tw=79
1cc457d9 19au BufRead,BufNewFile *.xml set tw=119 shiftwidth=2 smarttab
2eb169bd 20au FileType c set tw=119