Commit 405cf5c 1 parent 04a28cd commit 405cf5c Copy full SHA for 405cf5c
File tree 2 files changed +26
-0
lines changed
2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ ## Print hint after switch project
2
+
3
+ ``` lua
4
+ {
5
+ callback = function (_ )
6
+ vim .cmd (" Telescope find_files" )
7
+ end ,
8
+ }
9
+ ```
10
+
11
+ ## Open Telescope to find files right after switch project
12
+
13
+ ``` lua
14
+ {
15
+ callback = function (_ )
16
+ vim .cmd (" Telescope find_files" )
17
+ end ,
18
+ }
19
+ ```
Original file line number Diff line number Diff line change @@ -38,6 +38,11 @@ return {
38
38
vim .notify (" switched to dir: " .. dir )
39
39
end ,
40
40
},
41
+ {
42
+ callback = function (_ )
43
+ vim .cmd (" Telescope find_files" )
44
+ end ,
45
+ },
41
46
{
42
47
callback = function (dir )
43
48
vim .notify (" switched to dir: " .. dir )
@@ -56,6 +61,8 @@ return {
56
61
}
57
62
```
58
63
64
+ > [ Hook examples] ( ./HOOK_EXAMPLES.md )
65
+
59
66
## Commands and Apis
60
67
61
68
| Command | Description |
You can’t perform that action at this time.
0 commit comments