Closed nbarrientos closed 6 months ago
Otherwise yaml-set-imenu-generic-expression (default in yaml-mode-hook) will be executed after yaml-pro-mode sets imenu up, overwriting the configuration created by this package.
yaml-set-imenu-generic-expression
yaml-pro-mode
I only use yaml-pro-ts-mode but the same idea applies:
yaml-pro-ts-mode
(add-hook 'yaml-mode-hook 'yaml-pro-ts-mode 100))
Thanks for this! I'll see if I can add a word in the -ts- mode section too about this.
Otherwise
yaml-set-imenu-generic-expression
(default in yaml-mode-hook) will be executed afteryaml-pro-mode
sets imenu up, overwriting the configuration created by this package.