File: .ycm_extra_conf.py

package info (click to toggle)
lua-nvim 0.1.0-1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 180 kB
  • sloc: makefile: 70; ansic: 32
file content (24 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import os
import os.path

cwd = os.path.dirname(os.path.abspath(__file__))

flags = [
    '-g',
    '-fPIC',
    '-Wall',
    '-Wextra',
    '-Werror',
    '-Wextra',
    '-Wconversion',
    '-Wstrict-prototypes',
    '-pedantic',
    '-isystem',
    os.path.join(cwd, '.deps', 'usr', 'include')
]

def FlagsForFile(filename, **kwargs):
  return {
    'flags': flags,
    'do_cache': True
  }