coc-als
Version:
Ada Language Server support for coc.nvim
45 lines • 1.13 kB
JSON
{
"Case Statement": {
"prefix": "case",
"scope": "gpr",
"body": [
"case ${1:Variable} is",
" when \"${3:Condition}\" =>",
" $0",
" when others =>",
" $2",
"end case;"
],
"description": "Case Statement"
},
"Package Declaration": {
"prefix": "package",
"scope": "gpr",
"body": [
"package ${1|Binder,Builder,Check,Clean,Compiler,Cross_Reference,Documentation,Eliminate,Finder,Gnatls,Gnatstub,IDE,Install,Linker,Metrics,Naming,Pretty_Printer,Remote,Stack,Synchronize|} is",
" $0",
"end $1;"
],
"description": "Package Declaration"
},
"Package Extension": {
"prefix": "package",
"scope": "gpr",
"body": [
"package ${1:Name} extends ${2} is",
" $0",
"end $1;"
],
"description": "Package Extension"
},
"Project Declaration": {
"prefix": "project",
"scope": "gpr",
"body": [
"${1|project,abstract project,aggregate project,library project|} ${2:Name} ${3|is,extends \"\" is|}",
" $0",
"end ${2:Name};"
],
"description": "Project Declaration"
}
}