mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-15 13:23:42 -05:00
Include snippets in lsp completion
This gives completion of snippets along with normal LSP completion, similar to how the old company-lsp backend worked.
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