File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change @@ -703,4 +703,50 @@ opts = {
703
703
704
704
</Tabs >
705
705
706
+ ## [ snacks.nvim] ( https://github.com/folke/snacks.nvim )
707
+
708
+ <Tabs >
709
+
710
+ <TabItem value =" opts " label =" Options " >
711
+
712
+ ``` lua
713
+ opts = function (_ , opts )
714
+ if not opts .picker then
715
+ return
716
+ end
717
+ table.insert (opts .dashboard .preset .keys , 3 , {
718
+ icon = " " ,
719
+ key = " p" ,
720
+ desc = " Projects" ,
721
+ action = " :lua Snacks.picker.projects()" ,
722
+ })
723
+ end
724
+ ```
725
+
726
+ </TabItem >
727
+
728
+
729
+ <TabItem value =" code " label =" Full Spec " >
730
+
731
+ ``` lua
732
+ {
733
+ " folke/snacks.nvim" ,
734
+ opts = function (_ , opts )
735
+ if not opts .picker then
736
+ return
737
+ end
738
+ table.insert (opts .dashboard .preset .keys , 3 , {
739
+ icon = " " ,
740
+ key = " p" ,
741
+ desc = " Projects" ,
742
+ action = " :lua Snacks.picker.projects()" ,
743
+ })
744
+ end ,
745
+ }
746
+ ```
747
+
748
+ </TabItem >
749
+
750
+ </Tabs >
751
+
706
752
<!-- plugins:end -->
You can’t perform that action at this time.
0 commit comments