(setq-default ruby-indent-line global-tab-width)

(smart-tabs-advice ruby-indent-line ruby-indent-level)
(smart-tabs-insinuate 'ruby)

(setf ruby-indent-tabs-mode t)
(setf ruby-use-smie nil)

(add-to-list 'auto-mode-alist '("\\.god\\'" . ruby-mode))

(provide 'ruby)

;; Set ruby-indent-line to global-tab-width
(setq-default ruby-indent-line global-tab-width)

;; Provide advice to Smart Tabs about how to handle Ruby's special
;; indentation variables.
(smart-tabs-advice ruby-indent-line ruby-indent-level)

;; Apply Ruby language support to Smart Tabs.
(smart-tabs-insinuate 'ruby)

;; Use tabs mode in Ruby by default.
(setf ruby-indent-tabs-mode t)

;; Don't use SMIE because SMIE sucks.
(setf ruby-use-smie nil)

;; God configurations are in Ruby.
;; TODO Add more Ruby-esque extensions.
(add-to-list 'auto-mode-alist '("\\.god\\'" . ruby-mode))

(provide 'ruby)

Add documentation to Ruby support
Add documentation to Ruby support

kotct/dot,kotct/dot