Add ReasonML
This commit is contained in:
parent
810d175372
commit
d2e4c202b0
11 changed files with 66 additions and 42 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue