From 785e7db2d5db9d173c8a5718df5c5219c9196352 Mon Sep 17 00:00:00 2001 From: Tomas Slusny Date: Wed, 28 Feb 2024 01:38:26 +0100 Subject: [PATCH] feat: set 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..e70d3959 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 = { code_actions = { 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..154d6d44 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 = { code_actions = { 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..9a34b918 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 = { code_actions = { previewer = "codeaction_native" } }, tags = { previewer = "bat" }, btags = { previewer = "bat" }, files = { fzf_opts = { ["--ansi"] = false } },