Compare commits
No commits in common. "55e22fd3f7927d25a0849ca306f13c120c3109a1" and "10c2b99fb89e5cbac29a5578b77c3e5225d89bce" have entirely different histories.
55e22fd3f7
...
10c2b99fb8
|
@ -1,23 +0,0 @@
|
||||||
snippet prog "Add new program template" b
|
|
||||||
Program ${1:Name}`!p snip.rv = "" if t[2] == "" else " ("`${2:FileList}`!p snip.rv = "" if t[2] == "" else ")"`;`!p
|
|
||||||
if t[3] == "":
|
|
||||||
snip.rv = ""
|
|
||||||
else:
|
|
||||||
snip.rv = "\nconst\n (* Constant declarations *)\n "`${3:Const}`!p
|
|
||||||
if t[4] == "":
|
|
||||||
snip.rv = ""
|
|
||||||
else:
|
|
||||||
snip.rv = "\ntype\n (* Type declarations *)\n "`${4:Types}`!p
|
|
||||||
if t[5] == "":
|
|
||||||
snip.rv = ""
|
|
||||||
else:
|
|
||||||
snip.rv = "\nvar\n (* Variable declarations *)\n "`${5:Variables}
|
|
||||||
|
|
||||||
Begin
|
|
||||||
$0
|
|
||||||
End.
|
|
||||||
endsnippet
|
|
||||||
|
|
||||||
snippet -- "Add multiline comment" A
|
|
||||||
(* $1 *)$0
|
|
||||||
endsnippet
|
|
|
@ -1,7 +1,3 @@
|
||||||
snippet cc "Add Citation" i
|
|
||||||
\\cite{$1}$0
|
|
||||||
endsnippet
|
|
||||||
|
|
||||||
snippet colx "textcolor"
|
snippet colx "textcolor"
|
||||||
\\textcolor{${1:red}}{$2}$0
|
\\textcolor{${1:red}}{$2}$0
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
|
@ -24,7 +24,6 @@ vim.g.ale_fixers = {
|
||||||
lua = { "stylua" },
|
lua = { "stylua" },
|
||||||
markdown = { "prettier", "pandoc" },
|
markdown = { "prettier", "pandoc" },
|
||||||
python = { "yapf" },
|
python = { "yapf" },
|
||||||
pascal = { "ptop" },
|
|
||||||
}
|
}
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>lf", ":ALEFix<CR>")
|
vim.keymap.set("n", "<leader>lf", ":ALEFix<CR>")
|
||||||
|
|
Loading…
Reference in New Issue