[emacs] Trying lsp again, sigh

This commit is contained in:
2020-07-27 23:42:07 -04:00
parent 62526f713e
commit 80ea1bff35
3 changed files with 7 additions and 7 deletions

View File

@ -338,7 +338,7 @@ Handful of fun aliases to make working in Eshell almost like a /real/ shell :smi
* Coding
I once used LSP, but Emacs lsp-mode is flaky as hell. It works sometimes, but other times causes pyls to thrash the CPU. I don't need that, not when Eglot exists. This just makes sure Eglot runs in `python-mode`
#+BEGIN_SRC emacs-lisp
(add-hook 'python-mode-hook 'eglot-ensure)
;(add-hook 'python-mode-hook 'eglot-ensure)
#+END_SRC
* Mastodon
There's gotta be a way to get the token out of password-store for this.

View File

@ -91,7 +91,7 @@
(eval +overlay) ; run code, run (also, repls)
gist ; interacting with github gists
lookup ; navigate your code and its documentation
;;lsp
lsp
;;macos ; MacOS-specific commands
magit ; a git porcelain for Emacs
make ; run make tasks from Emacs
@ -123,13 +123,13 @@
;;fsharp ; ML stands for Microsoft's Language
;;fstar ; (dependent) types and (monadic) effects and Z3
;;gdscript ; the language you waited for
go ; the hipster dialect
(go +lsp) ; the hipster dialect
;;(haskell +dante) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python
;;idris ;
;;json ; At least it ain't XML
;;(java +meghanada) ; the poster child for carpal tunnel syndrome
javascript ; all(hope(abandon(ye(who(enter(here))))))
(javascript +lsp) ; 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
@ -154,12 +154,12 @@
;;php ; perl's insecure younger brother
plantuml ; diagrams for confusing people more
;;purescript ; javascript, but functional
python ; beautiful is better than ugly
(python +lsp) ; beautiful is better than ugly
;;qt ; the 'cutest' gui framework ever
;;racket ; a DSL for DSLs
rest ; Emacs as a REST client
rst ; ReST in peace
(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
(ruby +rails +lsp) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
;;scala ; java, but good
;;scheme ; a fully conniving family of lisps

View File

@ -22,7 +22,7 @@
:repo "l3kn/org-fc"
:files (:defaults "awk" "demo.org")))
(package! eglot)
;(package! eglot)
;; python stuffs
(package! blacken)