Add doom*project-root advice fn
This commit is contained in:
parent
7d081c3154
commit
a2ca21cc21
3 changed files with 9 additions and 6 deletions
|
@ -27,8 +27,6 @@
|
|||
(eldoc-mode +1)))
|
||||
(add-hook! (typescript-mode web-mode) #'+typescript|tide-setup)
|
||||
|
||||
(advice-add #'tide-project-root :override #'doom-project-root)
|
||||
|
||||
(map! :map typescript-mode-map
|
||||
:m "gd" #'tide-jump-to-definition
|
||||
:localleader
|
||||
|
@ -41,5 +39,7 @@
|
|||
(set! :company-backend 'typescript-mode '(company-tide))
|
||||
(setq tide-format-options
|
||||
'(:insertSpaceAfterFunctionKeywordForAnonymousFunctions t
|
||||
:placeOpenBraceOnNewLineForFunctions nil)))
|
||||
:placeOpenBraceOnNewLineForFunctions nil))
|
||||
|
||||
(advice-add #'tide-project-root :override #'doom*project-root))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue