summaryrefslogtreecommitdiffstats
path: root/after/plugin/actionpreview.lua
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2023-10-22 18:17:21 -0400
committerSquibid <me@zacharyscheiman.com>2023-10-22 18:17:21 -0400
commit01729e261340a4462a57bf80f6e591c1371ae996 (patch)
tree67b6488d097ac04cb5d27d794b530ee15ce65593 /after/plugin/actionpreview.lua
parente522d7d3faa895c2722113b316d4fc8203158996 (diff)
downloadnvim-01729e261340a4462a57bf80f6e591c1371ae996.tar.gz
nvim-01729e261340a4462a57bf80f6e591c1371ae996.tar.bz2
nvim-01729e261340a4462a57bf80f6e591c1371ae996.zip
kitchen sink:
- add code action previews - change indent blankline style - more luasnip snippets - change default mason stuff - customize neorg more - change notify style - change startpage completely - add line info to statusline - change telescope style - change how todo comments look - make indentation work via treesitter
Diffstat (limited to '')
-rw-r--r--after/plugin/actionpreview.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/after/plugin/actionpreview.lua b/after/plugin/actionpreview.lua
new file mode 100644
index 0000000..21d4ea4
--- /dev/null
+++ b/after/plugin/actionpreview.lua
@@ -0,0 +1,17 @@
+local status_ok, actions = pcall(require, "actions-preview")
+if not status_ok then
+ return
+end
+
+actions.setup {
+ backend = { "telescope" },
+ telescope = require("telescope.themes").get_dropdown {
+ borderchars = {
+ prompt = {' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ' };
+ results = {' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ' };
+ preview = {' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ' };
+ },
+ layout_strategy = 'cursor',
+ winblend = 10,
+ }
+}