summaryrefslogtreecommitdiff
path: root/ftplugin
diff options
context:
space:
mode:
authorSimon Hauser <simon.hauser@helsinki-systems.de>2022-03-11 15:34:39 +0100
committerGitHub <noreply@github.com>2022-03-11 15:34:39 +0100
commit2d0b4a3243ce21180ead49b37ed35825e0a3a89a (patch)
tree6498ea35a73a2f83d0a2edbced569144049a5332 /ftplugin
parentddb9e56160914261ca6af9f75ce2afb5d28961e2 (diff)
fix: disable signcolumn in telescope windows (#1781)
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/TelescopePrompt.lua2
-rw-r--r--ftplugin/TelescopeResults.lua2
2 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/TelescopePrompt.lua b/ftplugin/TelescopePrompt.lua
index ce7b6c1..8888a88 100644
--- a/ftplugin/TelescopePrompt.lua
+++ b/ftplugin/TelescopePrompt.lua
@@ -8,3 +8,5 @@ vim.opt_local.wrap = false
-- There's also no reason to enable textwidth here anyway
vim.opt_local.textwidth = 0
vim.opt_local.scrollbind = false
+
+vim.opt_local.signcolumn = "no"
diff --git a/ftplugin/TelescopeResults.lua b/ftplugin/TelescopeResults.lua
index 13c20e4..08e9dcc 100644
--- a/ftplugin/TelescopeResults.lua
+++ b/ftplugin/TelescopeResults.lua
@@ -1,3 +1,5 @@
-- Don't have scrolloff, it makes things weird.
vim.opt_local.scrolloff = 0
vim.opt_local.scrollbind = false
+
+vim.opt_local.signcolumn = "no"