From bb2a2090a7a8ee871b20e43dbc7fc667d8add3b0 Mon Sep 17 00:00:00 2001 From: ThanosApollo Date: Sat, 8 Oct 2022 18:50:35 +0300 Subject: Add javascript configs --- .config/doom/config.el | 9 +++++++++ .config/doom/custom.el | 4 +++- .config/doom/init.el | 4 ++-- 3 files changed, 14 insertions(+), 3 deletions(-) (limited to '.config/doom') diff --git a/.config/doom/config.el b/.config/doom/config.el index 8f353ae..7001fbf 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -238,3 +238,12 @@ :publishing-directory "~/public_html" :recursive t :publishing-function org-publish-attachment))) + +(require 'emms-setup) +(setq emms-player-list '(emms-player-mpv)) +(setq emms-source-file-default-directory "/home/apollo/Music/lofi") + +(require 'flycheck) +(setq-default flycheck-disabled-checkers + (append flycheck-disabled-checkers + '(javascript-jshint json-jsonlist))) diff --git a/.config/doom/custom.el b/.config/doom/custom.el index 9f3eb98..0a136bf 100644 --- a/.config/doom/custom.el +++ b/.config/doom/custom.el @@ -3,8 +3,10 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. + '(org-safe-remote-resources + '("\\`https://fniessen\\.github\\.io/org-html-themes/org/theme-readtheorg\\.setup\\'" "\\`https://fniessen\\.github\\.io/org-html-themes/org/theme-NAME\\.setup\\'")) '(package-selected-packages - '(pomodoro auto-sudoedit nyx-theme moe-theme lab-themes helm org-wc wc-mode ef-themes one-themes ayu-theme paper-theme magithub evil-tutor circe the-matrix-theme ac-emmet html5-schema htmlize ac-html-bootstrap ac-html organic-green-theme typing-game monkeytype hacker-typer org-pdftools pdf-tools gotham-theme linum-relative vterm dired-ranger ranger arc-dark-theme darktooth-theme latex-preview-pane telega uwu-theme w3m flames-of-freedom gnugo elcord mpv ffmpeg-player playerctl espotify futhark-mode green-is-the-new-black-theme spotify jazz-theme)) + '(transpose-frame flycheck prettier-js web-mode react-snippets emms-player-simple-mpv emms pomodoro auto-sudoedit nyx-theme moe-theme lab-themes helm org-wc wc-mode ef-themes one-themes ayu-theme paper-theme magithub evil-tutor circe the-matrix-theme ac-emmet html5-schema htmlize ac-html-bootstrap ac-html organic-green-theme typing-game monkeytype hacker-typer org-pdftools pdf-tools gotham-theme linum-relative vterm dired-ranger ranger arc-dark-theme darktooth-theme latex-preview-pane telega uwu-theme w3m flames-of-freedom gnugo elcord mpv ffmpeg-player playerctl espotify futhark-mode green-is-the-new-black-theme spotify jazz-theme)) '(warning-suppress-types '((emacs) (defvaralias)))) (custom-set-faces ;; custom-set-faces was added by Custom. diff --git a/.config/doom/init.el b/.config/doom/init.el index 2bbf535..d3fcd36 100644 --- a/.config/doom/init.el +++ b/.config/doom/init.el @@ -141,7 +141,7 @@ ;;idris ; a language you can depend on json ; At least it ain't XML ;;(java +lsp) ; the poster child for carpal tunnel syndrome - javascript ; all(hope(abandon(ye(who(enter(here)))))) + javascript ; all(hope(abandon(ye(who(enter(here)))))) ;;julia ; a better, faster MATLAB ;;kotlin ; a better, slicker Java(Script) ;;latex ; writing papers in Emacs has never been so fun @@ -157,7 +157,7 @@ ;;php ; perl's insecure younger brother ;;plantuml ; diagrams for confusing people more ;;purescript ; javascript, but functional - python ; beautiful is better than ugly + python ; beautiful is better than ugly ;;qt ; the 'cutest' gui framework ever ;;racket ; a DSL for DSLs ;;raku ; the artist formerly known as perl6 -- cgit v1.2.3