js: Add prettier for formatting
This commit is contained in:
parent
cd1d4493a4
commit
f8c0b6b3a8
1 changed files with 3 additions and 2 deletions
|
@ -4,8 +4,8 @@
|
|||
|
||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
;; Version: 2025.0124.135906
|
||||
;; Package-Requires: (oni-company js2-mode js2-refactor oni-flycheck fic-mode rjsx-mode)
|
||||
;; Version: 2025.0423.111220
|
||||
;; Package-Requires: (oni-company js2-mode js2-refactor oni-flycheck fic-mode rjsx-mode prettier-js)
|
||||
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
;; it under the terms of the GNU General Public License as published by
|
||||
|
@ -64,6 +64,7 @@
|
|||
(add-hook 'js2-mode-hook 'js2-refactor-mode)
|
||||
(add-hook 'js2-mode-hook 'oni-js--auto-fill-mode)
|
||||
(add-hook 'js2-mode-hook 'oni-js-whitespace-mode)
|
||||
(add-hook 'js2-mode-hook 'prettier-js-mode)
|
||||
(add-hook 'js2-mode-hook 'subword-mode)
|
||||
|
||||
(js2r-add-keybindings-with-prefix "C-c r")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue