Compare commits
No commits in common. "298e80f22178e1f0bef11986e0cd7a2dc9208a98" and "2836ff63e3a407b2845292968a0733a332bb0cc5" have entirely different histories.
298e80f221
...
2836ff63e3
|
@ -48,38 +48,8 @@ Begin
|
|||
End;
|
||||
endsnippet
|
||||
|
||||
snippet function "Add a new function" b
|
||||
{ Procedure
|
||||
@name: $1`!p
|
||||
if t[2] == "":
|
||||
snip.rv = "\n\t"
|
||||
else:
|
||||
snip.rv = "\n"
|
||||
groups = t[2].split(";");
|
||||
for group in groups:
|
||||
snip.rv += f"\t@param {group}\n"
|
||||
snip.rv += "\t"
|
||||
`@return $3
|
||||
@description: $4 }
|
||||
Function ${1:name}`!p
|
||||
if not (t[2] == ""):
|
||||
snip.rv = " ("
|
||||
else:
|
||||
snip.rv = ""`$2`!p
|
||||
if not (t[2] == ""):
|
||||
snip.rv = ")"
|
||||
else:
|
||||
snip.rv = ""` : ${3:Integer};`!p
|
||||
if t[5] == "":
|
||||
snip.rv = ""
|
||||
else:
|
||||
snip.rv = "\nVar\n\t"`$5
|
||||
Begin
|
||||
$0
|
||||
End;
|
||||
endsnippet
|
||||
|
||||
snippet -- "Add comment"
|
||||
snippet -- "Add multiline comment" A
|
||||
(* $1 *)$0
|
||||
endsnippet
|
||||
|
||||
|
|
|
@ -87,20 +87,4 @@ return {
|
|||
"mhartington/formatter.nvim",
|
||||
{ "TamaMcGlinn/nvim-lspconfig-ada" },
|
||||
"sainnhe/sonokai",
|
||||
|
||||
-- Plugins to test
|
||||
{
|
||||
"folke/which-key.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {},
|
||||
keys = {
|
||||
{
|
||||
"<leader>?",
|
||||
function()
|
||||
require("which-key").show({ global = false })
|
||||
end,
|
||||
desc = "Buffer Local Keymaps (which key)",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue