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:
parent
7955234308
commit
1197d640f1
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue