Skip to content

Commit 5188fa4

Browse files
committed
README: configs
1 parent cee1b1a commit 5188fa4

2 files changed

Lines changed: 3 additions & 13 deletions

File tree

README.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,7 @@ Using [lazy.nvim](https://github.com/folke/lazy.nvim)
4545
require('telescope').setup {
4646
extensions = {
4747
-- Configurations for the clapi picker
48-
clapi = {
49-
show_inherited = true, -- Set to false to only show members defined in the current class
50-
visibility = "public", -- Filter by default visibility (public, protected, private)
51-
},
48+
clapi = {},
5249
},
5350
}
5451
-- Enable the clapi extension
@@ -94,16 +91,9 @@ require('telescope').setup {
9491
clapi = {
9592
-- Show inherited members (default: true)
9693
show_inherited = true,
97-
9894
-- Default visibility filter (default: nil - show all)
99-
-- Can be "public", "protected", "private", or nil
95+
-- Examples: "public", "protected", "private"
10096
visibility = nil,
101-
102-
-- Additional display customization options
103-
display = {
104-
show_filename = true, -- Show filename in results
105-
show_line_numbers = true, -- Show line numbers
106-
},
10797
},
10898
},
10999
}

lua/clapi/finder.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ M.builtin = function(opts)
2020
-- vim.print(opts)
2121
opts = opts or {}
2222
opts.bufnr = opts.bufnr or 0
23-
opts.path_display = { "hidden" }
23+
opts.path_display = { "smart" }
2424

2525
async.run(function()
2626
local results = parser.parse_file(opts)

0 commit comments

Comments
 (0)