Doom emacs: use eglot LSP

This commit is contained in:
marc
2025-03-24 23:00:11 +01:00
parent e24078ec81
commit 1b8db86a98
2 changed files with 13 additions and 14 deletions

View File

@@ -10,8 +10,8 @@
(setq display-line-numbers-type t)
;; Fonts
(setq doom-font (font-spec :family "Iosevka Nerd Font" :size 15))
(setq doom-symbol-font (font-spec :family "Iosevka Nerd Font" :size 15))
(setq doom-font (font-spec :family "Iosevka Nerd Font" :size 18))
(setq doom-symbol-font (font-spec :family "Iosevka Nerd Font" :size 18))
;; Themeing
;; (use-package base16-theme
@@ -74,14 +74,14 @@
;; -----------------------------------------------------------------------------
;; LSP
;; -----------------------------------------------------------------------------
(use-package lsp-mode
:init
:hook (;;
(clojure-mode . lsp-deferred)
(python-mode . lsp-deferred)
;; if you want which-key integration
(lsp-mode . lsp-enable-which-key-integration))
:commands (lsp lsp-deferred))
;; (use-package lsp-mode
;; :init
;; :hook (;;
;; (clojure-mode . lsp-deferred)
;; (python-mode . lsp-deferred)
;; ;; if you want which-key integration
;; (lsp-mode . lsp-enable-which-key-integration))
;; :commands (lsp lsp-deferred))
;; -----------------------------------------------------------------------------
@@ -109,7 +109,7 @@
;; -----------------------------------------------------------------------------
;; Web (HTML + CSS)
;; -----------------------------------------------------------------------------
(use-package! lsp-tailwindcss)
;; (use-package! lsp-tailwindcss)
;; -----------------------------------------------------------------------------
;; Org

View File

@@ -94,7 +94,7 @@
(eval +overlay) ; run code, run (also, repls)
;;gist ; interacting with github gists
lookup ; navigate your code and its documentation
lsp
(lsp +eglot)
magit ; a git porcelain for Emacs
;;make ; run make tasks from Emacs
;;pass ; password manager for nerds
@@ -155,8 +155,7 @@
;;plantuml ; diagrams for confusing people more
;;purescript ; javascript, but functional
(python
+lsp
+pyright) ; beautiful is better than ugly
+lsp) ; beautiful is better than ugly
;;qt ; the 'cutest' gui framework ever
;;racket ; a DSL for DSLs
;;raku ; the artist formerly known as perl6