[emacs] Move back to eglot, lsp sucks
This commit is contained in:
@ -7,6 +7,8 @@ My identity. Used in a handful of places in Emacs to prepopulate authorship and
|
|||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq user-full-name "Colin Powell"
|
(setq user-full-name "Colin Powell"
|
||||||
user-mail-address "colin@unbl.ink")
|
user-mail-address "colin@unbl.ink")
|
||||||
|
|
||||||
|
(add-hook 'python-mode-hook 'eglot-ensure)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* User interface
|
* User interface
|
||||||
** Fonts and themes
|
** Fonts and themes
|
||||||
@ -180,7 +182,6 @@ A handful of mods here clean up org mode. Line numbers don’t mean much when yo
|
|||||||
ob-eval
|
ob-eval
|
||||||
ob-exp
|
ob-exp
|
||||||
ob-http
|
ob-http
|
||||||
org-drill
|
|
||||||
org-id)))
|
org-id)))
|
||||||
|
|
||||||
;; Don’t display git gutter in org mode
|
;; Don’t display git gutter in org mode
|
||||||
@ -439,4 +440,6 @@ Here we are trying to auto-translate Word and PDF files to be viewed in Emacs.
|
|||||||
magithub-clone-default-directory "~/src" ;; I want my stuff to clone to ~/projects
|
magithub-clone-default-directory "~/src" ;; I want my stuff to clone to ~/projects
|
||||||
magithub-preferred-remote-method 'ssh_url)) ;; HTTPS cloning is awful, i authenticate with ssh keys.
|
magithub-preferred-remote-method 'ssh_url)) ;; HTTPS cloning is awful, i authenticate with ssh keys.
|
||||||
|
|
||||||
|
|
||||||
|
(setq lsp-enable-links nil)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|||||||
@ -33,7 +33,7 @@
|
|||||||
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
||||||
;;hydra
|
;;hydra
|
||||||
;;indent-guides ; highlighted indent columns
|
;;indent-guides ; highlighted indent columns
|
||||||
minimap ; show a map of the code on the side
|
;minimap ; show a map of the code on the side
|
||||||
modeline ; snazzy, Atom-inspired modeline, plus API
|
modeline ; snazzy, Atom-inspired modeline, plus API
|
||||||
nav-flash ; blink cursor line after big motions
|
nav-flash ; blink cursor line after big motions
|
||||||
;;neotree ; a project drawer, like NERDTree for vim
|
;;neotree ; a project drawer, like NERDTree for vim
|
||||||
@ -41,7 +41,7 @@
|
|||||||
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
||||||
;;pretty-code ; ligatures or substitute text with pretty symbols
|
;;pretty-code ; ligatures or substitute text with pretty symbols
|
||||||
;;tabs ; an tab bar for Emacs
|
;;tabs ; an tab bar for Emacs
|
||||||
treemacs ; a project drawer, like neotree but cooler
|
;treemacs ; a project drawer, like neotree but cooler
|
||||||
unicode ; extended unicode support for various languages
|
unicode ; extended unicode support for various languages
|
||||||
vc-gutter ; vcs diff in the fringe
|
vc-gutter ; vcs diff in the fringe
|
||||||
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
||||||
@ -53,7 +53,7 @@
|
|||||||
(evil +everywhere); come to the dark side, we have cookies
|
(evil +everywhere); come to the dark side, we have cookies
|
||||||
file-templates ; auto-snippets for empty files
|
file-templates ; auto-snippets for empty files
|
||||||
fold ; (nigh) universal code folding
|
fold ; (nigh) universal code folding
|
||||||
(format +onsave) ; automated prettiness
|
format ; +onsave) ; automated prettiness
|
||||||
;;god ; run Emacs commands without modifier keys
|
;;god ; run Emacs commands without modifier keys
|
||||||
;;lispy ; vim for lisp, for people who don't like vim
|
;;lispy ; vim for lisp, for people who don't like vim
|
||||||
multiple-cursors ; editing in many places at once
|
multiple-cursors ; editing in many places at once
|
||||||
@ -91,7 +91,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
|
||||||
;;macos ; MacOS-specific commands
|
;;macos ; MacOS-specific commands
|
||||||
magit ; a git porcelain for Emacs
|
magit ; a git porcelain for Emacs
|
||||||
make ; run make tasks from Emacs
|
make ; run make tasks from Emacs
|
||||||
@ -152,9 +152,9 @@
|
|||||||
+present) ; using Emacs for presentations
|
+present) ; using Emacs for presentations
|
||||||
;;perl ; write code no one else can comprehend
|
;;perl ; write code no one else can comprehend
|
||||||
;;php ; perl's insecure younger brother
|
;;php ; perl's insecure younger brother
|
||||||
plantuml ; diagrams for confusing people more
|
plantuml ; diagrams for confusing people more
|
||||||
;;purescript ; javascript, but functional
|
;;purescript ; javascript, but functional
|
||||||
(python +lsp) ; beautiful is better than ugly
|
python ; 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
|
||||||
rest ; Emacs as a REST client
|
rest ; Emacs as a REST client
|
||||||
|
|||||||
@ -7,45 +7,37 @@
|
|||||||
:repo "hlissner/emacs-snippets"
|
:repo "hlissner/emacs-snippets"
|
||||||
:files ("*")))
|
:files ("*")))
|
||||||
|
|
||||||
(package! declutter
|
;(package! evil-matchit
|
||||||
:recipe (:host github
|
; :recipe (:host github
|
||||||
:repo "sanel/declutter"))
|
; :repo "redguardtoo/evil-matchit"))
|
||||||
|
|
||||||
(package! evil-matchit
|
|
||||||
:recipe (:host github
|
|
||||||
:repo "redguardtoo/evil-matchit"))
|
|
||||||
|
|
||||||
|
; For making Nov.el look nice
|
||||||
(package! justify-kp
|
(package! justify-kp
|
||||||
:recipe (:host github
|
:recipe (:host github
|
||||||
:repo "Fuco1/justify-kp"))
|
:repo "Fuco1/justify-kp"))
|
||||||
|
|
||||||
;;(package! eglot)
|
(package! eglot)
|
||||||
|
|
||||||
;; python stuffs
|
;; python stuffs
|
||||||
(package! w3m)
|
|
||||||
(package! blacken)
|
(package! blacken)
|
||||||
(package! pylint)
|
;;(package! pylint)
|
||||||
(package! py-isort)
|
;;(package! py-isort)
|
||||||
(package! importmagic)
|
;;(package! importmagic)
|
||||||
|
|
||||||
;; slack ... okay one more time
|
|
||||||
(package! slack)
|
|
||||||
|
|
||||||
;; org stuffs
|
;; org stuffs
|
||||||
(package! ob-http)
|
(package! ob-http)
|
||||||
(package! org-web-tools)
|
(package! org-web-tools)
|
||||||
(package! org-vcard)
|
|
||||||
(package! org-snooze)
|
(package! org-snooze)
|
||||||
(package! org-alert)
|
(package! org-alert)
|
||||||
(package! org-drill)
|
;;(package! org-vcard)
|
||||||
(package! org-superstar)
|
;;(package! org-drill)
|
||||||
|
;;(package! org-superstar)
|
||||||
|
|
||||||
;; handy tools
|
;; handy tools
|
||||||
|
(package! w3m)
|
||||||
(package! nov)
|
(package! nov)
|
||||||
(package! git-link)
|
(package! git-link)
|
||||||
(package! auth-source-pass)
|
|
||||||
(package! ivy-todo)
|
|
||||||
(package! ivy-explorer)
|
|
||||||
(package! ivy-lobsters)
|
(package! ivy-lobsters)
|
||||||
(package! web-search)
|
(package! web-search)
|
||||||
(package! mpdel)
|
(package! mpdel)
|
||||||
@ -55,6 +47,9 @@
|
|||||||
(package! mastodon)
|
(package! mastodon)
|
||||||
(package! magit-circleci)
|
(package! magit-circleci)
|
||||||
(package! smog)
|
(package! smog)
|
||||||
|
(package! wordgen)
|
||||||
|
;; slack ... okay one more time
|
||||||
|
(package! slack)
|
||||||
|
|
||||||
;; pretty tings up
|
;; pretty tings up
|
||||||
(package! srcery-theme)
|
(package! srcery-theme)
|
||||||
@ -62,8 +57,5 @@
|
|||||||
(package! nyan-mode)
|
(package! nyan-mode)
|
||||||
(package! emojify)
|
(package! emojify)
|
||||||
|
|
||||||
; provides typographical replacements
|
|
||||||
(package! typo)
|
|
||||||
|
|
||||||
;; TODO Remove when nose shows up on github again
|
;; TODO Remove when nose shows up on github again
|
||||||
(disable-packages! nose)
|
;(disable-packages! nose)
|
||||||
|
|||||||
Reference in New Issue
Block a user