Skip to content

Commit

Permalink
feat(telescope): add telescope sorter (#190)
Browse files Browse the repository at this point in the history
Co-authored-by: Miljan Ignjatovic <[email protected]>
  • Loading branch information
imiljan and imiljan-yokoy authored Aug 30, 2024
1 parent c2de6c1 commit 635cdbc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/telescope/_extensions/kulala.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ local actions = require("telescope.actions")
local finders = require("telescope.finders")
local pickers = require("telescope.pickers")
local previewers = require("telescope.previewers")
local config = require("telescope.config").values

local function kulala_search(_)
-- a list of all the .http/.rest files in the current directory
Expand All @@ -38,6 +39,7 @@ local function kulala_search(_)
previewer = previewers.vim_buffer_cat.new({
title = "Preview",
}),
sorter = config.generic_sorter({}),
})
:find()
end
Expand Down Expand Up @@ -83,6 +85,7 @@ local function kulala_env_select(_)
vim.api.nvim_buf_set_lines(self.state.bufnr, 0, -1, false, lines)
end,
}),
sorter = config.generic_sorter({}),
})
:find()
end
Expand Down

0 comments on commit 635cdbc

Please sign in to comment.