Add search for methods and classes
This commit is contained in:
parent
8b15f88dc5
commit
333bd97793
|
@ -70,6 +70,12 @@ return {
|
|||
opts["layout_config"] = {height=0.2}
|
||||
require"telescope.builtin".buffers(opts)
|
||||
end},
|
||||
{ "<C-m>", function () -- methods / classes
|
||||
local opts = require('telescope.themes').get_ivy({})
|
||||
opts["layout_config"] = {height=0.2}
|
||||
opts["symbols"] = { "class", "method", "function" }
|
||||
require("telescope.builtin").lsp_document_symbols(opts)
|
||||
end},
|
||||
{ "<C-S-f>", function () -- fuzzy search
|
||||
require"telescope.builtin".grep_string({
|
||||
path_display = { 'smart' },
|
||||
|
|
Loading…
Reference in New Issue