mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Merge pull request #4512 from jsravn/enable-yasnippet-in-lsp-completion
Include snippets in lsp completion
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
;;; tools/lsp/+lsp.el -*- lexical-binding: t; -*-
|
||||
|
||||
(defvar +lsp-company-backends 'company-capf
|
||||
(defvar +lsp-company-backends (if (featurep! :editor snippets)
|
||||
'(:separate company-yasnippet company-capf)
|
||||
'company-capf)
|
||||
"The backends to prepend to `company-backends' in `lsp-mode' buffers.
|
||||
Can be a list of backends; accepts any value `company-backends' accepts.")
|
||||
|
||||
|
Reference in New Issue
Block a user