We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cca19e commit 3c84493Copy full SHA for 3c84493
drupal-mode.el
@@ -282,6 +282,10 @@ function arguments.")
282
(when (derived-mode-p 'css-mode)
283
(set (make-local-variable 'css-indent-level) 2)))
284
285
+ ;; Stuff special for js-mode buffers.
286
+ (when (apply 'derived-mode-p drupal-js-modes)
287
+ (set (make-local-variable 'js-indent-level) 2))
288
+
289
;; Stuff special for php-mode buffers.
290
(when (apply 'derived-mode-p drupal-php-modes)
291
;; Show function arguments from GNU GLOBAL for function at point
0 commit comments