refining meow config
This commit is contained in:
parent
4439744064
commit
be6664d1f1
2 changed files with 26 additions and 17 deletions
25
config.el
25
config.el
|
@ -97,20 +97,19 @@
|
|||
(after! smart-tabs-mode
|
||||
(smart-tabs-insinuate 'c 'javascript 'python))
|
||||
|
||||
;; lsp mode config to work with corfu/cape
|
||||
;; (after! lsp-mode
|
||||
;; (setq lsp-completion-provider :none)
|
||||
;; (setq lsp-signature-render-documentation nil)
|
||||
;; (setq lsp-completion-show-kind t)
|
||||
;; (setq lsp-ui-doc-show-with-mouse nil)
|
||||
;; Add consult-line seraches to isearch history (both regular and regex) -- can now use meow 'n' to continue search as well as isearch
|
||||
(advice-add #'consult-line :after
|
||||
(lambda (&rest _)
|
||||
(when consult--line-history
|
||||
(add-to-history
|
||||
'regexp-search-ring
|
||||
(car consult--line-history)
|
||||
regexp-search-ring-max)
|
||||
(add-to-history
|
||||
'search-ring
|
||||
(car consult--line-history)
|
||||
search-ring-max))))
|
||||
|
||||
;; (setq +lsp-company-backends
|
||||
;; '(:separate company-capf company-yasnippet company-dabbrev))
|
||||
|
||||
;; (defun my/lsp-mode-setup-completion ()
|
||||
;; (setf (alist-get 'styles (alist-get 'lsp-capf completion-category-defaults))
|
||||
;; '(orderless)))
|
||||
;; (add-hook! lsp-completion-mode 'my/lsp-mode-setup-completion))
|
||||
|
||||
;; bibliography file location
|
||||
(after! citar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue