Conversation
nixos/modules/rename.nix
Outdated
There was a problem hiding this comment.
you have to update the programs.zsh.syntax-highlighting.patterns option as well...
There was a problem hiding this comment.
I obviously missed that 👍
|
as I'm the author of this module: do we have any consistent style guide which describes the notation of module names? I've seen several modules in the |
rename zsh-option "syntax-highlighting" -> "syntaxHighlighting"
9fa3664 to
4a24282
Compare
|
@Ma27 I don't know of any consistent style guide. My intention was to make the zsh options more similar. When I saw that there are more syntax-related options than just |
|
I didn't find any documentation on the case of NixOS option names but most core options (not regarding services/programs) seem to be camel-case. |
|
@Ma27 If that's okay with you, I would merge this and push to upstream. |
|
http://nixos.org/nixpkgs/manual/#sec-syntax :
|
|
@groxxda thanks for pointing that out. @fpletz @WilliButz I'm fine with that. When I built that some weeks ago I was unsure which notation to take, so I decided to stay consistent with the package name. |
|
btw is it planned to merge this change back to upstream? Just asking because this is yet another diverge from upstream, but not that controversial IMHO. |
|
I'd like to see it upstream as well but it's not up to me to make this decision :) |
|
Pushed upstream: NixOS@4e4f7a2 |
This is intended to provide better consistency with other NixOS modules. Please refer to mayflower#21 for further information. (cherry picked from commit a549596)
This is intended to provide better consistency with other NixOS modules. Please refer to mayflower#21 for further information. (cherry picked from commit a549596)
This is intended to provide better consistency with other NixOS modules. Please refer to mayflower#21 for further information. (cherry picked from commit a549596)
rename zsh-option "syntax-highlighting" -> "syntaxHighlighting"
Motivation for this change
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandboxinnix.confon non-NixOS)
nix-shell -p nox --run "nox-review wip"./result/bin/)