spacemacs

jumar 2024-02-28T11:51:05.886389Z

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))

jumar 2024-02-29T04:45:56.247809Z

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