aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim/lua/configs
diff options
context:
space:
mode:
Diffstat (limited to 'vim/lua/configs')
-rw-r--r--vim/lua/configs/conform.lua6
-rw-r--r--vim/lua/configs/telescope.lua6
2 files changed, 8 insertions, 4 deletions
diff --git a/vim/lua/configs/conform.lua b/vim/lua/configs/conform.lua
index 411336e..b6fa6bb 100644
--- a/vim/lua/configs/conform.lua
+++ b/vim/lua/configs/conform.lua
@@ -1,12 +1,12 @@
1local options = { 1local options = {
2 formatters_by_ft = { 2 formatters_by_ft = {
3 lua = { "stylua" }, 3 lua = { "stylua" },
4 css = { "prettier" },
5 html = { "prettier" },
6 markdown = { "prettier" },
7 sh = {"shfmt"}, 4 sh = {"shfmt"},
8 bash = {"shfmt"}, 5 bash = {"shfmt"},
9 zsh = {"shfmt"}, 6 zsh = {"shfmt"},
7 markdown = { "prettier" },
8 css = { "prettier" },
9 html = { "prettier" },
10 }, 10 },
11 11
12 -- format_on_save = { 12 -- format_on_save = {
diff --git a/vim/lua/configs/telescope.lua b/vim/lua/configs/telescope.lua
index 60828e9..70eddf4 100644
--- a/vim/lua/configs/telescope.lua
+++ b/vim/lua/configs/telescope.lua
@@ -6,6 +6,10 @@ return {
6 -- ["<c-k>"] = "move_selection_previous", 6 -- ["<c-k>"] = "move_selection_previous",
7 ["<C-w>"] = require("telescope.actions.layout").toggle_preview, 7 ["<C-w>"] = require("telescope.actions.layout").toggle_preview,
8 ["<C-u>"] = false, 8 ["<C-u>"] = false,
9 ["<C-o>"] = function(p_bufnr)
10 require("telescope.actions").send_selected_to_qflist(p_bufnr)
11 vim.cmd.cfdo("edit")
12 end,
9 }, 13 },
10 }, 14 },
11 layout_config = { 15 layout_config = {
@@ -45,7 +49,7 @@ return {
45 }, 49 },
46 }, 50 },
47 }, 51 },
48 on_attach = function () 52 on_attach = function()
49 require("telescope").load_extension("aerial") 53 require("telescope").load_extension("aerial")
50 end 54 end
51} 55}