You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
378 B
26 lines
378 B
2 years ago
|
let g:projectionist_heuristics = {
|
||
|
\'*': {
|
||
|
\ 'src/*.c': {
|
||
|
\ 'alternate': [
|
||
|
\ 'src/{}.h',
|
||
|
\ 'tests/{}.test.c'
|
||
|
\ ],
|
||
|
\ 'type': 'source'
|
||
|
\ },
|
||
|
\ 'src/*.h': {
|
||
|
\ 'alternate': [
|
||
|
\ 'tests/{}.test.c',
|
||
|
\ 'src/{}.c'
|
||
|
\ ],
|
||
|
\ 'type': 'header'
|
||
|
\ },
|
||
|
\ 'tests/*.test.c': {
|
||
|
\ 'alternate': [
|
||
|
\ 'src/{}.c',
|
||
|
\ 'src/{}.h',
|
||
|
\ ],
|
||
|
\ 'type': 'test'
|
||
|
\ },
|
||
|
\ }
|
||
|
\}
|