Commit graph

494 commits

Author SHA1 Message Date
Dan Kessler 75c30eed0d
[helm] fix typo in helm-ls-git (#15411) 2022-03-16 15:59:54 -04:00
Alfonso Montero d66548fd04
[completion] Fix readme markup. (#15410) 2022-03-16 15:10:42 -04:00
Andreas Sahlbach 3deed8f060
compleseus: corrects name of some renamed consul commands (#15352) 2022-02-16 18:45:42 +00:00
Lucius Hu b7e1dee13f
spacemacs-buffer: Added optional feature to show file icons (#15332)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-15 06:52:00 +00:00
Lucius Hu 3429bcf056
fixed typos postframe to posframe 2022-02-14 11:05:18 -05:00
Lucius Hu 30e32ea41f
fixup! [auto-completion] add company-posframe 2022-02-14 02:36:17 -05:00
thanhvg adf9da378b
[auto-completion] add company-posframe (#15320)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-12 06:01:59 +00:00
ismama 031f7e1666
Fix the use of consult--source-project-file (#15328) 2022-02-08 11:07:25 -05:00
ismama 22d168a054
Fix consult-buffer error (#15327) 2022-02-08 09:13:06 -05:00
thanhvg 4a305a44af
[compleseus] clean up (#15314) 2022-02-05 13:31:20 -05:00
thanhvg fee90f8dd0
[compleseus][ivy] quote regex when search for region or symbol at point (#15313) 2022-02-05 13:30:30 -05:00
Lucius Hu fd652fae0c
update spacemacs/declare-prefix usages (#15278)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-04 05:36:11 +00:00
Lucius Hu 1541eed6bd fix messed up keybindings in helm-ag-map 2022-01-12 13:14:44 +01:00
Daniel Nicolai 2f061d26ae
Fix keybindings in ivy-occur-grep-mode
Closes #15219
2022-01-08 03:56:30 +00:00
Thanh Vuong 1d45278a71 [lsp] add consult-lsp and set lsp-use-upstream-bindings to t
lsp-use-upstream-bindings is t so by default spacemacs will use lsp-mode binding
scheme. We should consider to phase our the current manual binding scheme for
lsp-mode in future
2022-01-01 15:57:32 +01:00
Lucius Hu d7f9eb6342 Update minimum supported emacs version to 27.1 2022-01-01 14:32:46 +01:00
Thanh Vuong eb3ebe2c6e [compleseus] integration with which-key
https://github.com/oantolin/embark/wiki/Additional-Configuration#use-which-key-like-a-key-menu-prompt

embark-act `M-o` menu will be handled by which-key
2022-01-01 14:28:52 +01:00
Thanh Vuong 902d210361 [auto-completion][julia] Revert #15171, Proper fix for #15169
This reverts commit f2755533de.

This adds fix for julia layer breaking yasnippet setup.

Commit f2755533de fixed a specific bug in julia
layer but it loads yasnippet and friends on start up which adds 1 sec to my
startup time even though I don't use julia.

Julia layer loads lsp-julia early on startup, which loads lsp who then loads
yasnippet behind the scene unknown to spacemacs and use-package. That's why our
nice and ordered setup for yasnippet and yasnippet-snippets failed as discussed
in https://github.com/syl20bnr/spacemacs/pull/15171. We now tell use-package to
defer its load.
2021-12-30 18:35:37 +01:00
Daniel Nicolai f2755533de Fix #15169, snippets not loading correctly
The auto-completion layer seems not to have been designed/configured correctly.
So that, e.g., when using the julia layer, the `auto-completion/init-yasnippet`
function is called after the `yasnippet-snippets` package has been loaded.
Despite the ``yasnippet-snippets` package containing an `eval-after-load
'yasnippet`, the form within that block is, for some reason, evaluated already
before `auto-completion/init-yasnippet` has been called.

Anyway, what currently happens is that first `(yasnippet-snippets-initialize)`
is evaluated, adding `yasnippet-snippets-dir` to the `yas-snippet-dirs` list.
Then ``auto-completion/init-yasnippet` is called which contains the line `(setq
yas-snippet-dirs nil)`, setting the list to nil again.

As there is quite some logic involved (e.g. the order of evaluation is correct
when the julia layer is not being used), this commit fixes the reported issue by
simply calling `(yasnippet-snippets-initialize)` from
`auto-completion/init-yasnippet` after the yas-snippet-dirs list has been
resetted to nil.

Any cleaner solution is welcome, but I would say this is a 'harmless' very
pragmatic quick fix/solution.
2021-11-20 20:38:36 +01:00
SpacemacsBot f06fb38a8f [bot] "documentation_updates" Thu Nov 18 05:35:20 UTC 2021 2021-11-18 22:00:53 +01:00
tvuong 1c48cc5a5a [ivy] add mark unmark bindings 2021-11-18 06:32:15 +01:00
thanhvg dafae5f136
[compleseus] improve (#15165)
* [compleseus] layout select current project first

* [compleseus] bind embark-export to C-c C-o

same as ivy-occur

* [compleseus] add vertico-{quick, directory}

* [compleseus] set up vertico-repeat
2021-11-18 06:30:26 +01:00
Daniel Nicolai 51611b6e30
Fix autocompletion in elisp and text mode
Currently most or all auto-completion, using completion-at-point (i.e. the TAB
key), is 'hijacked' by company-capf in emacs-lisp-mode, while in text mode there
is no auto-completion by default at all.

This commit adds auto-completion for text-mode and slightly improves the
situation for emacs-lisp mode.
2021-11-13 10:26:45 +01:00
Maxi Wolff 707124fd3a
[compleseus] Fix orderless integration 2021-11-13 09:04:54 +01:00
Thanh Vuong 76841d87fc [compleseus] tuned completion-style and added support for M-: 2021-11-12 07:47:39 +01:00
SpacemacsBot e6bd5cc4ac [bot] "documentation_updates" Tue Nov 2 22:01:23 UTC 2021 2021-11-02 23:04:42 +01:00
Maxi Wolff 0dd38667df
[compleseus] Fetch consult-yasnippet from melpa 2021-11-02 22:57:53 +01:00
Daniel Nicolai d5b6df3584
Add commands to compleseus layer (locate, yasnippet, search from) (#15078)
* Add commands to compleseus+fasd layer (locate,yasnippet,search-from)

* Add metadata classifier (for embark) to fasd-layer

Embark uses metadata of the target under point to determine actions. If the
target lacks a metadata classifier then the [embark
documentation](https://github.com/oantolin/embark#acting-on-targets) recommends
to [add them using the marginalia package](https://github.com/minad/marginalia#adding-custom-annotators-or-classifiers).

This PR adds the file classifier to results for fasd searches.
2021-11-02 22:50:32 +01:00
Maxi Wolff 7ac303922e
[compleseus] Fix some small typos 2021-11-02 22:40:48 +01:00
Robert O'Connor 89d3482503 Add to the docs for compleseus about selecting a completion engine 2021-11-02 22:27:17 +01:00
Maxi Wolff b926293c33
[doc] Improve wording
following suggestions from #15119
2021-11-02 22:19:59 +01:00
Benjamin Hipple 2dc6208174 [doc] Fix spelling mistake 2021-11-02 22:17:51 +01:00
Rodrigo Virote Kassick 889f33216e helm-find-files-history requires prefix argument
Calling spacemacs/helm-find-files with prefix would cause an error
instead of popping helm-find-files-history before helm-find-files
2021-11-02 22:05:12 +01:00
Eugene Yaremenko 4f7246da07
use fetcher url for vertico-repeat package
vertico extensions aren't available yet
See https://github.com/minad/vertico/issues/83
2021-10-24 17:08:14 +03:00
Benjamin Hipple 6e512b80e1 [compleseus] Cleanup fetcher now that vertico-repeat is on elpa
elpa has the latest release tag, which includes vertico-repeat, so we can clean
this override up.
https://elpa.gnu.org/packages/vertico.html
https://github.com/minad/vertico/tree/0.14
2021-10-24 15:16:16 +03:00
SpacemacsBot 5c88c3b089
[bot] documentation_updates (#15071)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2021-10-15 02:24:54 +00:00
Eugene Yaremenko 63056ecb50
[doc] use org-mode example block for example 2021-09-29 23:43:14 +03:00
Maxi Wolff 44078aaebc
[ivy] Fix new src block in docs 2021-09-29 22:26:12 +02:00
Thanh Vuong 03ab15ed36
[ivy] counsel search commands use spacemacs--ivy-file-actions
spacemacs/counsel-search counsel-rg counsel-ag and counsel-find-file now share a
comon set of actions defined in `spacemacs--ivy-file-actions`
2021-09-29 22:20:34 +02:00
Rainer Gemulla b1d287081f Fix typo that prevents ivy-rich from being enabled 2021-08-25 22:48:05 +02:00
Maxi Wolff f78c9bed18
[docs] Fix broken link in ivy README 2021-08-25 22:34:54 +02:00
Daniel Nicolai f92af9989a Add option to enable all-the-icons-ivy-rich to ivy layer 2021-08-22 22:31:05 +02:00
duianto 6205d29e11
[compleseus] Fix keys (#14968) 2021-08-20 04:50:45 +00:00
duianto 7b5b69fda5 [compleseus] Fix indentation 2021-08-02 13:24:37 +02:00
Thanh Vuong 50f4fe183f [compleseus] add consult-line-multi 2021-08-02 13:20:42 +02:00
Thanh Vuong dce3f1d722 [ivy] add open in other window for ivy-xref 2021-07-28 19:38:30 +02:00
Andreas Sahlbach 579edd5deb fixed a small typo in the ivy docu
regarding the modifier for transient mode
2021-07-28 18:32:54 +02:00
SpacemacsBot 81eb82603c [bot] "documentation_updates" Wed Jul 28 13:13:07 UTC 2021 2021-07-28 15:35:39 +02:00
duianto 431dfd5ad9 [docs] Update completion layer install notes
The other completion layers, need to be:
- removed
- commented out
- or listed before the active completion layer
2021-07-26 15:49:42 +02:00
Thanh Vuong 6121a5807b [compleseus] new completion layer consult embark orderless selectrum/vertico
Built on consult embark orderless selectrum/vertico.

It's been working ok. Basic features are in, let's merge it and let our community
improve it togegher :)
2021-07-26 10:48:20 +02:00