Disable LSP plugins

This commit is contained in:
Antoine Martin 2020-08-03 16:24:33 +02:00
parent d1d68c3b10
commit af589522f8
2 changed files with 4 additions and 18 deletions

View file

@ -145,20 +145,6 @@ Disable smart parens because half of the time it doesn't do what I want:
** Rust ** Rust
By default =rustic-mode= uses =rls=, I want to use =rust-analyzer= instead.
#+BEGIN_SRC emacs-lisp
(setq rustic-lsp-server 'rust-analyzer)
#+END_SRC
I don't want to enable format-on-save globally in Doom, but having it in rust is
nice.
#+BEGIN_SRC emacs-lisp
(after! rustic
(setq rustic-format-trigger 'nil))
#+END_SRC
=rustfmt= limits lines to 100 characters, let's display it correctly. =rustfmt= limits lines to 100 characters, let's display it correctly.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp

View file

@ -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
+forge) +forge)
@ -118,11 +118,11 @@
;;elm ; care for a cup of TEA? ;;elm ; care for a cup of TEA?
emacs-lisp ; drown in parentheses emacs-lisp ; drown in parentheses
;;erlang ; an elegant language for a more civilized age ;;erlang ; an elegant language for a more civilized age
(ess +lsp) ; emacs speaks statistics ess ; emacs speaks statistics
;;faust ; dsp, but you get to keep your soul ;;faust ; dsp, but you get to keep your soul
;;fsharp ; ML stands for Microsoft's Language ;;fsharp ; ML stands for Microsoft's Language
;;fstar ; (dependent) types and (monadic) effects and Z3 ;;fstar ; (dependent) types and (monadic) effects and Z3
(go +lsp) ; the hipster dialect go ; the hipster dialect
haskell ; a language that's lazier than I am haskell ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python ;;hy ; readability of scheme w/ speed of python
;;idris ; ;;idris ;
@ -153,7 +153,7 @@
;;rest ; Emacs as a REST client ;;rest ; Emacs as a REST client
;;rst ; ReST in peace ;;rst ; ReST in peace
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} ;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap() rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
;;scala ; java, but good ;;scala ; java, but good
;;scheme ; a fully conniving family of lisps ;;scheme ; a fully conniving family of lisps
(sh ; she sells {ba,z,fi}sh shells on the C xor (sh ; she sells {ba,z,fi}sh shells on the C xor