a backend for company gambit
This is a very simple company backend for gambit, for emacs
It finds all the procedures in the gambit documentation and provides them to company.
I'm doing it to learn a few things, company backends, regular expressions, lisp in general.
In addition gambit comes with a pretty nice gambit-mode, the only thing missing was autocomplete, hence this project.
"why don't you just use geiser?"
you should definitely just use geiser
straight is a package manager for emacs, its really handy. No git cloning required!
(use-package company-gambit
:straight (company-gambit :type git :host github :repo "DrAtomic/company-gambit")
:config
(defun my-scheme-mode-hook ()
(add-to-list 'company-backends 'company-gambit--backend))
(add-hook 'scheme-mode-hook 'my-scheme-mode-hook))
cd ~/.emacs.d
git clone https://github.com/DrAtomic/company-gambit.git
go into your emacs config file and add
(use-package company-gambit
:ensure nil
:load-path "~/.emacs.d/company-gambit/"
:config
(defun my-scheme-mode-hook ()
(add-to-list 'company-backends 'company-gambit--backend))
(add-hook 'scheme-mode-hook 'my-scheme-mode-hook))
now start up a .scm file and you're good to go!