1

Regenerate nvim config

This commit is contained in:
2024-06-02 03:29:20 +02:00
parent 75eea0c030
commit ef2e28883d
5576 changed files with 604886 additions and 503 deletions

View File

@ -0,0 +1,16 @@
# vim: ft=meson
if a == b
endif
if a == b
foo()
endif
if a == b
foo()
elif a != b
foo()
else
foo()
endif

View File

@ -0,0 +1,15 @@
# vim: ft=meson
foo = {
'a': 1,
'b': 2,
}
bar = {
'a': 1,
'b': 2}
baz = {'a': 1,
'b': 2
}

View File

@ -0,0 +1,13 @@
# vim: ft=meson
executable('progname',
)
executable('progname',
sources: 'prog.c',
c_args: '-DFOO=1'
)
executable('progname',
sources: 'prog.c',
c_args: '-DFOO=1')

View File

@ -0,0 +1,14 @@
# vim: ft=meson
foo = [
'a',
'b',
]
bar = [
'a',
'b']
baz = ['a',
'b'
]

View File

@ -0,0 +1,8 @@
# vim: ft=meson
foreach elem : list
endforeach
foreach elem : list
foo()
endforeach

View File

@ -0,0 +1,34 @@
project('simple', 'c')
src = [
'source1.c',
'source2.c',
]
if 1 == 2
if meson.is_cross_build()
src += [
'src1.c',
'src2.c']
endif
endif
inc = include_directories([
'dir1/',
])
dep = declare_dependency(
sources : src,
include_directories : inc,
)
executable('myexe', src,
include_directories : [
'd1',
[
'd2',
'd3',
]
],
dependencies: dep)

View File

@ -0,0 +1,8 @@
# vim: ft=meson
myobj
.do_something('now')
myobj.do_something('now')
.do_something('now')
.do_something('now')

View File

@ -0,0 +1,11 @@
# vim: ft=meson
x = cond ?
iftrue :
iffalse
x = cond
? iftrue
: iffalse
x = cond ?