Include oil
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Has been cancelled
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Has been cancelled
This commit is contained in:
@@ -138,7 +138,7 @@ for variable in variables:
|
||||
if not variable == "" and not variable.startswith("typ") and not variable.startswith("--"):
|
||||
variableless = variable.replace("\t", "").replace (" ", "")
|
||||
snip.rv += f"\t-- @variable {variableless}\n"
|
||||
` -- @description $5
|
||||
` -- @description $5
|
||||
function ${1:`!p snip.rv = fn.split('.')[0].capitalize()`} `!p snip.rv = "" if t[2] == "" else "("`${2:N : Natural}`!p snip.rv = "" if t[2] == "" else ")"` return ${3:Natural} is
|
||||
$4
|
||||
begin
|
||||
@@ -185,8 +185,12 @@ if t[6] == "y":
|
||||
endsnippet
|
||||
|
||||
snippet package "Create package configuration" b
|
||||
package ${1:body }${2:`!p package_name = fn.split('.')[0]
|
||||
snip.rv = package_name[0].upper() + package_name[1:]`} is
|
||||
package ${1:body }${2:`!p package_name = fn.split('.')[0].replace("-", ".")
|
||||
components = package_name.split('.')
|
||||
structured = ""
|
||||
for component in components:
|
||||
structured = structured + "." + component[0].upper() + component[1:]
|
||||
snip.rv = structured[1:]`} is
|
||||
$0
|
||||
end $2;
|
||||
endsnippet
|
||||
|
||||
Reference in New Issue
Block a user