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