Fork me on GitHub
#spacemacs
<
2024-02-28
>
jumar11:02:05

I use cryogen with asciidoc and want to associate .asc files with asciidoc layer / adoc-mode Is https://emacs.stackexchange.com/questions/17887/how-do-i-associate-a-file-extension-with-a-specific-mode how you do it?

(add-to-list 'auto-mode-alist '("\\.asc\\'" . adoc-mode))

jumar04:02:56

I added asciidoc layer and the above snippet in user-config but even after closing and opening a file with .asc suffix it still shows Web as the major web mode