File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed
tests/test-sources/plugins/by-name/img-clip Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ { lib , ... } :
2
+ lib . nixvim . plugins . mkNeovimPlugin {
3
+ name = "img-clip" ;
4
+ packPathName = "img-clip.nvim" ;
5
+ package = "img-clip-nvim" ;
6
+ description = "Embed images into any markup language, like LaTeX, Markdown or Typst" ;
7
+ maintainers = [ lib . maintainers . saygo-png ] ;
8
+
9
+ settingsExample = {
10
+ default = {
11
+ dir_path = "assets" ;
12
+ file_name = "%y-%m-%d-%h-%m-%s" ;
13
+ use_absolute_path = false ;
14
+ relative_to_current_file = false ;
15
+ template = "$file_path" ;
16
+ } ;
17
+ filetypes = {
18
+ markdown = {
19
+ download_images = true ;
20
+ } ;
21
+ } ;
22
+ } ;
23
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ empty = {
3
+ plugins . img-clip . enable = true ;
4
+ } ;
5
+
6
+ example = {
7
+ plugins . img-clip = {
8
+ enable = true ;
9
+ settings = {
10
+ default = {
11
+ dir_path = "assets" ;
12
+ file_name = "%y-%m-%d-%h-%m-%s" ;
13
+ use_absolute_path = false ;
14
+ relative_to_current_file = false ;
15
+ template = "$file_path" ;
16
+ } ;
17
+ filetypes = {
18
+ markdown = {
19
+ download_images = true ;
20
+ } ;
21
+ } ;
22
+ } ;
23
+ } ;
24
+ } ;
25
+ }
You can’t perform that action at this time.
0 commit comments