Skip to content

Instantly share code, notes, and snippets.

@matfournier
Created April 3, 2020 04:14
Show Gist options
  • Save matfournier/9a6632ce697b2f6c6a0224419a4e1120 to your computer and use it in GitHub Desktop.
Save matfournier/9a6632ce697b2f6c6a0224419a4e1120 to your computer and use it in GitHub Desktop.
scaladoc in doom emacs

First pull latest develop and do a bin/doom update

in your .emacs.d navigate to this file and comment these lines: https://github.com/hlissner/doom-emacs/blob/develop/modules/tools/lsp/config.el#L50-L57

change this line: https://github.com/hlissner/doom-emacs/blob/develop/modules/tools/lsp/config.el#L3 to read company-capf instead of company-lsp

how to use

type /** above a class or whatever which will autocomplete a blank template, then use M-x and type company-capf you should get a popup for scaladoc completion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment