Skip to content

Commit

Permalink
emacs: Sort by mode name
Browse files Browse the repository at this point in the history
  • Loading branch information
akirak committed Sep 28, 2024
1 parent 7fa1697 commit 28284ac
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions emacs/emacs-config.org
Original file line number Diff line number Diff line change
Expand Up @@ -1186,25 +1186,25 @@ The built-in =electric= package provides the following modes:
`((nix-ts-mode . (,@lsp-no-formatter ,@nixfmt))))
(dir-locals-set-class-variables
'default
`((web-mode . (,@lsp))
(nix-ts-mode . (,@lsp-no-formatter ,@nixfmt))
(astro-ts-mode . (,@lsp-no-formatter))
`((astro-ts-mode . (,@lsp-no-formatter))
(css-mode . (,@lsp-no-formatter))
(svelte-mode . (,@lsp ,@flymake-eslint))
(elixir-ts-mode . (,@lsp))
(heex-ts-mode . (,@lsp))
(json-ts-mode . (,@lsp-no-formatter))
(js-ts-mode . (,@lsp-no-formatter))
(erlang-mode . (,@lsp-no-formatter))
(gleam-ts-mode . (,@lsp))
(go-ts-mode . (,@lsp))
(tsx-ts-mode . (,@lsp-no-formatter))
(haskell-mode . (,@lsp))
(heex-ts-mode . (,@lsp))
(js-ts-mode . (,@lsp-no-formatter))
(json-ts-mode . (,@lsp-no-formatter))
(nix-ts-mode . (,@lsp-no-formatter ,@nixfmt))
(rust-ts-mode . (,@lsp))
(erlang-mode . (,@lsp-no-formatter))
(typescript-ts-mode . (,@lsp-no-formatter))
(tuareg-mode . (,@lsp-no-formatter ,@ocamlformat))
(yaml-ts-mode . (,@yamlfmt))
(sql-mode . (,@sqlformat))
(haskell-mode . (,@lsp)))))
(svelte-mode . (,@lsp ,@flymake-eslint))
(tsx-ts-mode . (,@lsp-no-formatter))
(tuareg-mode . (,@lsp-no-formatter ,@ocamlformat))
(typescript-ts-mode . (,@lsp-no-formatter))
(web-mode . (,@lsp))
(yaml-ts-mode . (,@yamlfmt)))))
(dir-locals-set-directory-class "~/config/" 'personal)
(dir-locals-set-directory-class "~/emacs-config/" 'personal)
(dir-locals-set-directory-class "~/work2/learning/" 'default)
Expand Down

0 comments on commit 28284ac

Please sign in to comment.