mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
chore: use nix-ts in all org-src blocks
This commit is contained in:
parent
0115f4e806
commit
178d51cde6
2 changed files with 235 additions and 236 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -876,8 +876,7 @@ create a new one."
|
||||||
(add-to-list 'org-structure-template-alist '("sh" . "src shell"))
|
(add-to-list 'org-structure-template-alist '("sh" . "src shell"))
|
||||||
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
|
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
|
||||||
(add-to-list 'org-structure-template-alist '("py" . "src python :results output"))
|
(add-to-list 'org-structure-template-alist '("py" . "src python :results output"))
|
||||||
(add-to-list 'org-structure-template-alist '("nix" . "src nix :tangle"))
|
(add-to-list 'org-structure-template-alist '("nix" . "src nix-ts :tangle"))
|
||||||
(add-to-list 'org-structure-template-alist '("nix-ts" . "src nix-ts :tangle"))
|
|
||||||
|
|
||||||
(use-package auctex)
|
(use-package auctex)
|
||||||
(setq TeX-auto-save t)
|
(setq TeX-auto-save t)
|
||||||
|
|
@ -1024,7 +1023,7 @@ create a new one."
|
||||||
lsp-nix-nixd-home-manager-options-expr "(builtins.getFlake \"/home/swarsel/.dotfiles\").nixosConfigurations.nbl-imba-2.options.home-manager.users.type.getSubOptions []"
|
lsp-nix-nixd-home-manager-options-expr "(builtins.getFlake \"/home/swarsel/.dotfiles\").nixosConfigurations.nbl-imba-2.options.home-manager.users.type.getSubOptions []"
|
||||||
))
|
))
|
||||||
|
|
||||||
(use-package nix-mode
|
(use-package nix-ts-mode
|
||||||
:after lsp-mode
|
:after lsp-mode
|
||||||
:mode "\\.nix\\'"
|
:mode "\\.nix\\'"
|
||||||
:ensure t
|
:ensure t
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue