about summary refs log tree commit diff
path: root/website/default.nix
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-27T10·59+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-27T10·59+0000
commitf2ba5aca310ebc7c832e3ec5a41bc70a148d5ed6 (patch)
tree493d29d7b358aa4f67789743776fa9b3e3816d0e /website/default.nix
parent0281eb58aa1cdd98c0dc499b6910738429f9250e (diff)
Ensure Emacs prettier hook activates
Problem:
prettier-js waits for rjsx-mode. rjsx-mode only runs on .js files. As such,
the hook that installs prettier-js-mode for *all* of my frontend hooks, which
includes more than just js files, does not install until a javascript file is
opened.

Solution:
Do not conditionally load prettier-js.

Bonus:
Remove the .js mode from rjsx.
Diffstat (limited to 'website/default.nix')
0 files changed, 0 insertions, 0 deletions