On Tue, May 01, 2018 at 08:40:00AM -0400, Hendrik Boom wrote:

[cut]

> 
> I've been looking into enabling golang autocompletion for emacs on my 
> system.  It's probably trivial to do, but not so trivial to figure out 
> what trivia need to be done from the online emacs documentation.  Not to 
> worry.  I'll figure it out.  But I understand about it maybe taking 20 
> people...
> 

Just install golang-mode, and it should work OOTB. I have added the
following line to .emacs:

  ;; golang-mode stuff
  ;;
  ;; apply gofmt before saving
  (add-hook 'before-save-hook 'gofmt-before-save)
  
which is useful to have everything gofmt-ted when you save.

My2Cents

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to