Change Ada project configuration
This commit is contained in:
@@ -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
|
||||
|
||||
9
init.lua
9
init.lua
@@ -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")
|
||||
|
||||
@@ -291,3 +291,6 @@ trusted
|
||||
VE
|
||||
Waveform
|
||||
Synthesizerimplementierung
|
||||
Kologromov
|
||||
frame
|
||||
Sampling
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user