From 859311d0eef7f9e8e890d6d51a2d3ed269d9ceca Mon Sep 17 00:00:00 2001 From: yannickreiss Date: Tue, 30 Jul 2024 06:44:24 +0200 Subject: [PATCH] Update --- UltiSnips/python.snippets | 2 +- lua/plugconfig.lua | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/UltiSnips/python.snippets b/UltiSnips/python.snippets index 3106faa..3db2dfd 100644 --- a/UltiSnips/python.snippets +++ b/UltiSnips/python.snippets @@ -27,6 +27,6 @@ for param in params: $6 `!p if t[4] != "": - snip.rv = f"\n\treturn {t[4]}"` + snip.rv = f"\n return {t[4]}"` $0 endsnippet diff --git a/lua/plugconfig.lua b/lua/plugconfig.lua index 04e6bf8..1521fe4 100644 --- a/lua/plugconfig.lua +++ b/lua/plugconfig.lua @@ -1,3 +1,7 @@ +if vim == nil then + vim = {} +end + -- Update function and call function Update_Sys() vim.cmd("Lazy sync") @@ -100,6 +104,7 @@ vim.cmd([[ ]]) -- Ale configuration +vim.g.ale_linters_explicit = 0 local linters = { python = { "pylint" }, vim = { "vint" },