File tree Expand file tree Collapse file tree 1 file changed +0
-38
lines changed
Expand file tree Collapse file tree 1 file changed +0
-38
lines changed Original file line number Diff line number Diff line change @@ -9,44 +9,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
99
1010 maintainers = [ lib . maintainers . GaetanLepage ] ;
1111
12- settingsOptions = {
13- style = lib . nixvim . defaultNullOpts . mkStr "hydrogen" ''
14- The jupytext style to use.
15- '' ;
16-
17- output_extension = lib . nixvim . defaultNullOpts . mkStr "auto" ''
18- By default, the extension of the plain text file is automatically selected by jupytext.
19- This can be modified by changing the extension from auto to any other file extension supported
20- by Jupytext.
21- This is most useful to those using Quarto or Markdown.
22- Analogously, we can provide a default filetype that will be given to the new buffer by using
23- `force_ft`.
24- Again, this is only really useful to users of Quarto.
25- '' ;
26-
27- force_ft = lib . nixvim . mkNullOrStr ''
28- Default filetype. Don't change unless you know what you are doing.
29- '' ;
30-
31- custom_language_formatting = lib . nixvim . defaultNullOpts . mkAttrsOf lib . types . anything { } ''
32- By default we use the auto mode of jupytext.
33- This will create a script with the correct extension for each language.
34- However, this can be overridden in a per language basis if you want to.
35- For this you can set this option.
36-
37- For example, to convert python files to quarto markdown:
38- ```nix
39- {
40- python = {
41- extension = "qmd";
42- style = "quarto";
43- force_ft = "quarto";
44- };
45- }
46- ```
47- '' ;
48- } ;
49-
5012 settingsExample = {
5113 style = "light" ;
5214 output_extension = "auto" ;
You can’t perform that action at this time.
0 commit comments