spacemacs/layers
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
..
+chat rcirc: refactor 2021-04-04 12:48:21 +02:00
+checkers Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
+completion Fix #15169, snippets not loading correctly 2021-11-20 20:38:36 +01:00
+distributions Open special-mode buffer in motion-state (not evilified) 2021-11-02 22:15:13 +01:00
+emacs [bot] "documentation_updates" Sun Nov 14 17:38:06 UTC 2021 2021-11-14 19:40:22 +02:00
+email [bot] "documentation_updates" Wed Aug 25 22:37:51 UTC 2021 2021-08-26 02:00:32 +03:00
+filetree Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
+fonts/unicode-fonts Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
+frameworks [svelte] Revise layer 2021-11-13 10:16:29 +01:00
+fun Revise some smaller layers 2021-09-21 22:07:38 +02:00
+intl [bot] "documentation_updates" Wed Aug 25 22:37:51 UTC 2021 2021-08-26 02:00:32 +03:00
+lang Add binding for markdown-table-align 2021-11-20 20:35:42 +01:00
+misc [parinfer] Allow to disable auto-installation 2021-05-17 21:24:54 +00:00
+music [doc] fix links 2021-07-12 07:32:24 -07:00
+os [bot] "documentation_updates" Wed Aug 25 22:37:51 UTC 2021 2021-08-26 02:00:32 +03:00
+pair-programming/floobits Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
+readers fix links 2021-11-04 20:36:23 +02:00
+source-control Fix forge evil keybinds (#15167) 2021-11-19 17:52:11 +01:00
+spacemacs [compleseus] improve (#15165) 2021-11-18 06:30:26 +01:00
+tags [gtags] improve 2021-04-15 21:44:46 +02:00
+themes Add zonokai themes to themes-megapack layer 2021-11-02 22:25:35 +01:00
+tools [bot] "documentation_updates" Thu Nov 18 05:35:20 UTC 2021 2021-11-18 22:00:53 +01:00
+vim documentation formatting: Sun May 9 19:09:25 UTC 2021 2021-05-09 21:16:30 +02:00
+web/eww Add documentation about evilifying 'special-mode buffers' (+fix eww) 2021-09-17 21:15:10 +02:00
+web-services [bot] "documentation_updates" Sat Sep 11 22:58:39 UTC 2021 2021-09-12 02:11:16 +03:00
+window-management/exwm [bot] "spacemacs_fix_org" Mon Jul 5 23:23:52 UTC 2021 2021-07-05 16:24:48 -07:00
auto-layer.el Add .leex support for the html layer 2021-09-10 22:15:46 +02:00
LAYERS.org [bot] "documentation_updates" Sat Nov 13 09:20:02 UTC 2021 2021-11-13 10:24:57 +01:00