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 snip.rv = "end if;"`$0
endsnippet endsnippet
snippet for "For loop" bA snippet for "For loop" b
for ${1:i} in ${2:1}..${3:10} loop for ${1:i} in ${2:1}..${3:10} loop
$4 $4
end loop;$0 end loop;$0
endsnippet endsnippet
snippet while "While loop" bA snippet while "While loop" b
while ${1:Condition} loop while ${1:Condition} loop
$2 $2
end loop;$0 end loop;$0

View File

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

View File

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

Binary file not shown.