aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2017-06-11 01:49:19 +0200
committerMax Christian Pohle2017-06-11 01:49:19 +0200
commita33cad9d1738a39e83916d7d928a1ec7e0662f48 (patch)
tree27dc5c1ebba2be5d79ecb57b26558f8d0d6a9f49
parent0dd996f2c3151c5915b6b1f127f0655c2f83d9d4 (diff)
downloadvim-karlmarks-a33cad9d1738a39e83916d7d928a1ec7e0662f48.tar.bz2
vim-karlmarks-a33cad9d1738a39e83916d7d928a1ec7e0662f48.zip
Improved my minimal ycm_extra_conf.py (pep8)
-rw-r--r--ycm_extra_conf.py24
1 files changed, 16 insertions, 8 deletions
diff --git a/ycm_extra_conf.py b/ycm_extra_conf.py
index 092887d..7a1828f 100644
--- a/ycm_extra_conf.py
+++ b/ycm_extra_conf.py
@@ -1,13 +1,21 @@
1def FlagsForFile(filename, **kwargs): 1def FlagsForFile(filename, **kwargs):
2 return { 2 return {
3 'flags': [ 3 'flags': [
4 '-x', 4 '-Wall',
5 'c', 5 '-Wextra',
6 '-isystem', 6 '-Werror',
7 '/usr/include', 7 '-Wno-long-long',
8 '-isystem', 8 '-Wno-variadic-macros',
9 '-isystem', 9 '-fexceptions',
10 '-I', 10 '-ferror-limit=10000',
11 '.', 11 '-DNDEBUG',
12 '-std=c99',
13 '-x', 'c',
14 '-D_GNU_SOURCE',
15 '-I.',
16 '-I', '/usr/include/'
12 ], 17 ],
18 'do_cache': True,
13 } 19 }
20
21# vim:set et sw=4 ts=4 tw=120:
..