(defun customize-julia ()
  ;; also put other Julia customizations here
  (interactive)
  (setq julia-basic-offset 2))

(add-hook 'julia-mode-hook 'customize-julia)

BTW, I am working on ESS & Julia repl interaction, you might find this
useful (will be merged eventually I hope):

https://github.com/tpapp/ESS-julia-extensions

Best,

Tamas

On Fri, Mar 13 2015, Shivkumar Chandrasekaran wrote:

> I have tried all possible combinations of suggestions from the ESS manual
> to get the ESS[Julia] mode to convert indentation to 2 spaces rather than 4
> with no luck. Has anybody else succeeded, and if so could you please post
> your magic sauce? Thanks. --shiv--

Reply via email to