Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lua/ouroboros/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ local config = {
switch_to_open_pane_if_possible = false,
-- this number may need to be tweaked, will need to test drive
-- for a while and see
score_required_to_be_confident_match_is_found = 10
score_required_to_be_confident_match_is_found = 10,

respect_gitignore = true,
}
}

Expand Down
2 changes: 1 addition & 1 deletion lua/ouroboros/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function M.switch()
if not found_match then
-- these are our scan options, refer to plenary.scan_dir for the options available here
local scan_opts = {
respect_gitignore = true,
respect_gitignore = config.settings.respect_gitignore,
-- Starts with anything but explicitly ends in "filename." (note the period is included!)
search_pattern = "^.*" .. filename .. "%..*$";
}
Expand Down