Преглед изворни кода

solidity: Add custom line length

master
Bingen Eguzkitza пре 5 година
родитељ
комит
de22c2ff0f
1 измењених фајлова са 10 додато и 0 уклоњено
  1. +10
    -0
      lisp/init-solidity.el

+ 10
- 0
lisp/init-solidity.el Прегледај датотеку

@@ -34,6 +34,16 @@
(append '((company-solidity company-capf company-dabbrev-code))
company-backends))))


;; https://gitlab.haskell.org/ghc/ghc/wikis/emacs
(require 'whitespace)
(defun solidity-custom-line-length ()
(setq whitespace-style '(face lines-tail))
(setq whitespace-line-column 145)
(global-whitespace-mode t))

(add-hook 'solidity-mode-hook 'solidity-custom-line-length)

(provide 'init-solidity)

;;; init-solidity.el ends here

Loading…
Откажи
Сачувај