Change Ada project configuration

This commit is contained in:
Yannick Reiß 2023-11-18 17:47:01 +01:00
parent ef3b176f84
commit 7596423a38
No known key found for this signature in database
GPG Key ID: 5A3AF456F0A0338C
4 changed files with 14 additions and 2 deletions

View File

@ -74,13 +74,13 @@ else:
snip.rv = "end if;"`$0
endsnippet
snippet for "For loop" bA
snippet for "For loop" b
for ${1:i} in ${2:1}..${3:10} loop
$4
end loop;$0
endsnippet
snippet while "While loop" bA
snippet while "While loop" b
while ${1:Condition} loop
$2
end loop;$0

View File

@ -160,6 +160,15 @@ require("mason-lspconfig").setup_handlers({
function(clangd)
require("lspconfig")[clangd].setup({})
end,
["als"] = function()
require("lspconfig").als.setup({
settings = {
ada = {
projectFile = "default.gpr",
},
},
})
end,
})
require("code-completion")

View File

@ -291,3 +291,6 @@ trusted
VE
Waveform
Synthesizerimplementierung
Kologromov
frame
Sampling

Binary file not shown.