|
@@ -12,6 +12,19 @@ require('telescope').setup({
|
|
|
sorting_strategy = 'ascending',
|
|
|
-- use filename as preview window title
|
|
|
dynamic_preview_title = true,
|
|
|
+
|
|
|
+ preview = {
|
|
|
+ -- don't preview files larger than 1MB
|
|
|
+ filesize_limit = 1,
|
|
|
+ timeout = 500,
|
|
|
+ },
|
|
|
+
|
|
|
+ -- ignore things we're likely not to edit
|
|
|
+ file_ignore_patterns = {
|
|
|
+ "%.zip$",
|
|
|
+ "%.yarn/releases/",
|
|
|
+ "%.yarn/plugins/"
|
|
|
+ },
|
|
|
},
|
|
|
pickers = {
|
|
|
buffers = {
|