From fc6a5009b4e118ba1e9c223df4134a933b808b95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C5=81uczy=C5=84ski?= Date: Sat, 9 Oct 2021 15:04:37 +0200 Subject: [PATCH] fix: set scrolloff in local not global scope (#1319) --- ftplugin/TelescopeResults.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftplugin/TelescopeResults.lua b/ftplugin/TelescopeResults.lua index 1b93571..fd6fc0d 100644 --- a/ftplugin/TelescopeResults.lua +++ b/ftplugin/TelescopeResults.lua @@ -1,2 +1,2 @@ -- Don't have scrolloff, it makes things weird. -vim.opt.scrolloff = 0 +vim.opt_local.scrolloff = 0