From ee5e5f8bf8e727666d20cc86b7b3fa8e1e739575 Mon Sep 17 00:00:00 2001 From: Tomas Slusny Date: Wed, 28 Feb 2024 01:38:26 +0100 Subject: [PATCH] Set proper native codeaction previewer for native profiles --- lua/fzf-lua/profiles/fzf-native.lua | 1 + lua/fzf-lua/profiles/fzf-tmux.lua | 1 + lua/fzf-lua/profiles/max-perf.lua | 1 + 3 files changed, 3 insertions(+) diff --git a/lua/fzf-lua/profiles/fzf-native.lua b/lua/fzf-lua/profiles/fzf-native.lua index e438a582..e057ed8b 100644 --- a/lua/fzf-lua/profiles/fzf-native.lua +++ b/lua/fzf-lua/profiles/fzf-native.lua @@ -3,6 +3,7 @@ return { winopts = { preview = { default = "bat" } }, manpages = { previewer = "man_native" }, helptags = { previewer = "help_native" }, + lsp = { codeactions = { previewer = "codeaction_native" } }, tags = { previewer = "bat" }, btags = { previewer = "bat" }, } diff --git a/lua/fzf-lua/profiles/fzf-tmux.lua b/lua/fzf-lua/profiles/fzf-tmux.lua index 94b9cd33..2f87aec1 100644 --- a/lua/fzf-lua/profiles/fzf-tmux.lua +++ b/lua/fzf-lua/profiles/fzf-tmux.lua @@ -6,6 +6,7 @@ return { winopts = { preview = { default = "bat", layout = "horizontal" } }, manpages = { previewer = "man_native" }, helptags = { previewer = "help_native" }, + lsp = { codeactions = { previewer = "codeaction_native" } }, tags = { previewer = "bat" }, btags = { previewer = "bat" }, } diff --git a/lua/fzf-lua/profiles/max-perf.lua b/lua/fzf-lua/profiles/max-perf.lua index d6a756dd..6d971ef8 100644 --- a/lua/fzf-lua/profiles/max-perf.lua +++ b/lua/fzf-lua/profiles/max-perf.lua @@ -3,6 +3,7 @@ return { winopts = { preview = { default = "bat" } }, manpages = { previewer = "man_native" }, helptags = { previewer = "help_native" }, + lsp = { codeactions = { previewer = "codeaction_native" } }, tags = { previewer = "bat" }, btags = { previewer = "bat" }, files = { fzf_opts = { ["--ansi"] = false } },