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

View File

@ -38,7 +38,8 @@
(when (featurep! +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
(puthash 'elixir-mode