Defer adding to LSP ignore list

It was attempting to add to the LSP list too early and erroring,
this adds an after! call to make it wait
This commit is contained in:
Steven vanZyl 2021-05-05 12:33:33 -04:00 committed by GitHub
parent 7955234308
commit 1197d640f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,8 @@
(when (featurep! +lsp) (when (featurep! +lsp)
(add-hook 'elixir-mode-local-vars-hook #'lsp!) (add-hook 'elixir-mode-local-vars-hook #'lsp!)
(add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]\\_build\\'")) (after! lsp-mode
(add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]\\_build\\'")))
(after! highlight-numbers (after! highlight-numbers
(puthash 'elixir-mode (puthash 'elixir-mode