Add ReasonML

This commit is contained in:
Maciej 2020-04-09 14:36:15 +03:00
parent 810d175372
commit d2e4c202b0
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
11 changed files with 66 additions and 42 deletions

View file

@ -7,26 +7,13 @@
:ensure t
:defer t)
(use-package lsp-mode
:ensure t
:defer t)
(use-package lsp-ui)
(use-package company
:commands (company-indent-or-complete-common company-yasnippet)
:requires (yasnippet
yasnippet-snippets
lsp-mode
lsp-ui)
yasnippet-snippets)
:ensure t
:defer t)
(use-package company-lsp
:ensure t
:requires company
:defer t)
(global-company-mode t)
(yas-global-mode t)
@ -59,11 +46,6 @@
(company-dabbrev company-abbrev)
))
(setq-default
company-lsp-cache-candidates 1 ;; Cache LSP results
company-lsp-async 1 ;; Fetch LSP results asynchronously
)
;; Use standard emacs next and previous bindings for navigating company
;; suggestions
(define-key company-active-map (kbd "C-p") 'company-select-previous-or-abort)