Add OCaml and update Doom Emacs
This commit is contained in:
parent
217ae1868b
commit
595191e0c7
4 changed files with 36 additions and 35 deletions
|
|
@ -9,7 +9,7 @@ in {
|
|||
fonts = {
|
||||
fonts = with pkgs.unstable; [
|
||||
corefonts # Microsoft free fonts
|
||||
(nerdfonts.override { fonts = [ "Meslo" ]; })
|
||||
(nerdfonts.override { fonts = [ "Meslo" "NerdFontsSymbolsOnly" ]; })
|
||||
];
|
||||
fontconfig.defaultFonts = { monospace = [ "MesloLGS Nerd Font Mono" ]; };
|
||||
};
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@
|
|||
doom-big-font (font-spec :family "MesloLGS Nerd Font Mono" :size 24)
|
||||
treemacs-git-mode 'extended
|
||||
org-directory "~/Nextcloud/Org/"
|
||||
org-roam-directory "~/Nextcloud/OrgRoam/")
|
||||
org-roam-directory "~/Nextcloud/OrgRoam/"
|
||||
nerd-icons-font-names '("SymbolsNerdFontMono-Regular.ttf"))
|
||||
|
||||
; Workaround for "Error running timer: (void-function consult--ripgrep-builder)"
|
||||
(use-package! consult
|
||||
|
|
@ -42,19 +43,12 @@
|
|||
(elfeed-set-timeout 36000)
|
||||
(run-with-idle-timer 300 t #'elfeed-update)
|
||||
(setq!
|
||||
;; elfeed-protocol-newsblur-maxpages 200
|
||||
;; elfeed-search-filter "+unread +p1"
|
||||
;; elfeed-search-trailing-width 60
|
||||
rmh-elfeed-org-files `(,(concat org-directory "elfeed.org")))
|
||||
;; (add-hook! 'elfeed-search-mode-hook 'elfeed-update)
|
||||
elfeed-search-filter "+unread"
|
||||
rmh-elfeed-org-files `(,(concat org-directory "elfeed.org"))
|
||||
elfeed-protocol-feeds '(("owncloud+https://paultrial@cloud.banditlair.com"
|
||||
:password (shell-command-to-string "echo -n `secret-tool lookup elfeed nextcloud`"))))
|
||||
(add-hook! 'elfeed-search-mode-hook 'elfeed-update)
|
||||
(setq elfeed-protocol-enabled-protocols '(owncloud))
|
||||
(defadvice elfeed (after configure-elfeed-feeds activate)
|
||||
"Make elfeed-org autotags rules work with elfeed-protocol."
|
||||
(setq elfeed-protocol-tags elfeed-feeds)
|
||||
(setq elfeed-feeds (list
|
||||
(list "owncloud+https://paultrial@cloud.banditlair.com"
|
||||
:password (shell-command-to-string "echo -n `secret-tool lookup elfeed nextcloud`")
|
||||
:autotags elfeed-protocol-tags))))
|
||||
(elfeed-protocol-enable))
|
||||
|
||||
(use-package! elfeed-tube
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@
|
|||
(eval +overlay) ; run code, run (also, repls)
|
||||
;;gist ; interacting with github gists
|
||||
lookup ; navigate your code and its documentation
|
||||
lsp ; M-x vscode
|
||||
(lsp +peek) ; M-x vscode
|
||||
magit ; a git porcelain for Emacs
|
||||
;;make ; run make tasks from Emacs
|
||||
;;pass ; password manager for nerds
|
||||
|
|
@ -150,7 +150,7 @@
|
|||
markdown ; writing docs for people to ignore
|
||||
;;nim ; python + lisp at the speed of c
|
||||
(nix +tree-sitter) ; I hereby declare "nix geht mehr!"
|
||||
;;ocaml ; an objective camel
|
||||
(ocaml +lsp +tree-sitter) ; an objective camel
|
||||
(org +roam2 +present +hugo +dragndrop) ; organize your plain life in plain text
|
||||
(php +lsp +tree-sitter) ; perl's insecure younger brother
|
||||
;;plantuml ; diagrams for confusing people more
|
||||
|
|
|
|||
|
|
@ -39,6 +39,14 @@ in {
|
|||
# metals # Scala
|
||||
rnix-lsp # Nix
|
||||
phpactor # PHP
|
||||
#OCaml
|
||||
ocaml
|
||||
dune_3
|
||||
ocamlPackages.ocaml-lsp
|
||||
ocamlPackages.ocamlformat
|
||||
ocamlPackages.utop
|
||||
ocamlPackages.ocp-indent
|
||||
ocamlPackages.merlin
|
||||
|
||||
# Used by org-roam
|
||||
sqlite
|
||||
|
|
@ -109,6 +117,5 @@ in {
|
|||
# };
|
||||
# };
|
||||
};
|
||||
fonts.fonts = [ pkgs.emacs-all-the-icons-fonts ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue