feat(emacs): typescript-ts-mode & elfeed-summary-skip-tag

This commit is contained in:
Pavel Korytov 2023-08-26 23:19:13 +03:00
parent 746fe228c0
commit 631ffda878
2 changed files with 10 additions and 6 deletions

View file

@ -1823,10 +1823,11 @@ Returns (<buffer> . <workspace-index>) or nil."
(use-package typescript-mode
:straight t
:mode "\\.ts\\'"
:config
:init
(add-hook 'typescript-mode-hook #'smartparens-mode)
(add-hook 'typescript-mode-hook #'rainbow-delimiters-mode)
(add-hook 'typescript-mode-hook #'hs-minor-mode)
:config
(my/set-smartparens-indent 'typescript-mode))
(add-hook 'js-mode-hook #'smartparens-mode)
@ -3199,7 +3200,7 @@ Returns (<buffer> . <workspace-index>) or nil."
org-directory "/projects/"
f))
(seq-filter
(lambda (f) (not (member f '("." ".."))))
(lambda (f) (not (file-directory-p f)))
(directory-files
(concat org-directory "/projects"))))))
(setq org-agenda-files
@ -4965,7 +4966,8 @@ With ARG, repeats or can move backward if negative."
:commands (elfeed-summary)
:straight t
:config
(setq elfeed-summary-filter-by-title t))
(setq elfeed-summary-filter-by-title t)
(setq elfeed-summary-skip-sync-tag 'skip))
(use-package elfeed-sync
:straight (:host github :repo "SqrtMinusOne/elfeed-sync")

View file

@ -2704,10 +2704,11 @@ My bit of config here:
(use-package typescript-mode
:straight t
:mode "\\.ts\\'"
:config
:init
(add-hook 'typescript-mode-hook #'smartparens-mode)
(add-hook 'typescript-mode-hook #'rainbow-delimiters-mode)
(add-hook 'typescript-mode-hook #'hs-minor-mode)
:config
(my/set-smartparens-indent 'typescript-mode))
#+end_src
*** JavaScript
@ -4484,7 +4485,7 @@ Also, my project structure is somewhat chaotic, so I have an =.el= file in the o
org-directory "/projects/"
f))
(seq-filter
(lambda (f) (not (member f '("." ".."))))
(lambda (f) (not (file-directory-p f)))
(directory-files
(concat org-directory "/projects"))))))
(setq org-agenda-files
@ -6983,7 +6984,8 @@ The default interface of elfeed is just a list of all entries, so it gets hard t
:commands (elfeed-summary)
:straight t
:config
(setq elfeed-summary-filter-by-title t))
(setq elfeed-summary-filter-by-title t)
(setq elfeed-summary-skip-sync-tag 'skip))
#+end_src
*** elfeed-sync
[[https://github.com/SqrtMinusOne/elfeed-sync][elfeed-sync]] is my package to sync elfeed with [[https://tt-rss.org/][tt-rss]].