Python formatter
This commit is contained in:
parent
8e15618207
commit
c651277b2e
1 changed files with 8 additions and 0 deletions
|
|
@ -263,6 +263,14 @@ in
|
|||
commands = "set-option buffer formatcmd ${texlive.bin.latexindent}/bin/latexindent";
|
||||
}
|
||||
]
|
||||
) ++ (
|
||||
lib.optionals (pkgs.devEnvironment.enablePython) [
|
||||
{
|
||||
name = "BufSetOption";
|
||||
option = "filetype=python";
|
||||
commands = "set-option buffer formatcmd '${python3.pkgs.black}/bin/black -'";
|
||||
}
|
||||
]
|
||||
) ++ (
|
||||
lib.optionals (pkgs.devEnvironment.enableData) [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue