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

View File

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