Skip to content

Commit 5da3805

Browse files
saygo-pngMattSturgeon
authored andcommitted
plugins/jupytext: drop settings declarations
Signed-off-by: saygo-png <[email protected]>
1 parent 2522391 commit 5da3805

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

plugins/by-name/jupytext/default.nix

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff 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";

0 commit comments

Comments
 (0)