From c4d98b341c51d8d49d04f64c2741cc62e9155340 Mon Sep 17 00:00:00 2001 From: Cheri Date: Tue, 14 Dec 2021 14:26:20 +0200 Subject: [PATCH] just emac --- .doom.d/config.el | 9 ++++++--- .doom.d/init.el | 8 ++++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.doom.d/config.el b/.doom.d/config.el index e5d0fbb..06fa196 100644 --- a/.doom.d/config.el +++ b/.doom.d/config.el @@ -21,7 +21,7 @@ ;; font string. You generally only need these two: ;; (setq doom-font (font-spec :family "monospace" :size 12 :weight 'semi-light) ;; doom-variable-pitch-font (font-spec :family "sans" :size 13)) -(setq doom-font (font-spec :family "SFMono Nerd Font Mono" :size 13) +(setq doom-font (font-spec :family "SFMono Nerd Font" :size 13) doom-variable-pitch-font (font-spec :family "Ubuntu" :size 15)) ;; There are two ways to load a theme. Both assume the theme is installed and @@ -55,8 +55,6 @@ ;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how ;; they are implemented. -;; Brag on discord I'm using Emacs -(elcord-mode) ; START TABS CONFIG ;; Create a variable for our preferred tab width @@ -91,3 +89,8 @@ (setq select-enable-clipboard nil) ;; (setq scroll-margin 5) + + +;; java stuff +(setenv "JAVA_HOME" "/usr/lib/jvm/java-17-openjdk") +(setq lsp-java-java-path "/usr/lib/jvm/java-17-openjdk/bin/java") diff --git a/.doom.d/init.el b/.doom.d/init.el index f99011e..a1b0a03 100644 --- a/.doom.d/init.el +++ b/.doom.d/init.el @@ -116,9 +116,9 @@ common-lisp ; if you've seen one lisp, you've seen them all ;;coq ; proofs-as-programs ;;crystal ; ruby at the speed of c - ;;csharp ; unity, .NET, and mono shenanigans + csharp ; unity, .NET, and mono shenanigans ;;data ; config/data formats - ;;(dart +flutter) ; paint ui and not much else + (dart +flutter +lsp) ; paint ui and not much else ;;elixir ; erlang done right ;;elm ; care for a cup of TEA? emacs-lisp ; drown in parentheses @@ -133,8 +133,8 @@ ;;hy ; readability of scheme w/ speed of python ;;idris ; a language you can depend on ;;json ; At least it ain't XML - ;;(java +meghanada) ; the poster child for carpal tunnel syndrome - ;;javascript ; all(hope(abandon(ye(who(enter(here)))))) + (java +meghanada +lsp) ; the poster child for carpal tunnel syndrome + 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