This commit is contained in:
Yannick Reiß 2024-03-23 14:10:36 +01:00
parent 4d3800a027
commit 23d1e0deb1
No known key found for this signature in database
GPG Key ID: 5A3AF456F0A0338C
5 changed files with 54 additions and 1 deletions

View File

@ -100,7 +100,16 @@ else:
endsnippet
snippet type "declare a new type" bA
type ${1:TypeName} is ${2:array($3..$4)} of ${5:Integer};$0
type ${1:TypeName} is ${2:array($3..$4) of }`!p
if t[2] == "record":
snip.rv = "\n\t\t"
else:
snip.rv = ""`$5`!p
if t[2] == "record":
snip.rv = "\n\tend record"
else:
snip.rv = ""
`;$0
endsnippet
snippet docstring "Document String with most important infor" b
@ -109,3 +118,13 @@ snippet docstring "Document String with most important infor" b
-- Author(s): ${1:Yannick Reiß}
-- Content: ${2: Function `!p snip.rv = fn.split('.')[0]`}
endsnippet
snippet project "Project" b
project ${1:Default} is
for Source_Dirs use ("${2:src}");
for Object_Dir use "${3:obj}";
for Exec_Dir use "${4:bin}";
for Main use ("${5:main.adb}");
for Languages use ("Ada");
end $1;
endsnippet

View File

@ -49,6 +49,13 @@ $1
$0
endsnippet
snippet cjson "json code"
\`\`\`json
$1
\`\`\`
$0
endsnippet
snippet ,m "Math equation" A
\$$1\$ $0
endsnippet

View File

@ -69,4 +69,5 @@ return {
build = "./install.sh",
dependencies = "hrsh7th/nvim-cmp",
},
"jaredgorski/spacecamp",
}

View File

@ -352,3 +352,29 @@ Tablet
Abschwington
BerndDasBot
Frameworks
Tuples
structs
make
IoT
json
Request
Dictionary
Everything
Disclaimer
linuxspezifischen
linuxspezifischen
cron
false
true
boolsche
bash
zsh
sockets
requests
otwendige
ptionale
utomatischer
anueller
nickr
eu
email

Binary file not shown.