feat(???): add some new stuff
This commit is contained in:
parent
bd3c5c1556
commit
5f3439280c
2 changed files with 16 additions and 0 deletions
|
@ -281,6 +281,14 @@ Enabling Emacs-LSP to use LSPs, I am very dry on syntax highlighters right now.
|
|||
(use-package haskell-mode
|
||||
:mode "\\.hs\\'")
|
||||
#+END_SRC
|
||||
*** Python
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package lsp-pyright
|
||||
:ensure t
|
||||
:hook (python-mode . (lambda ()
|
||||
(require 'lsp-pyright)
|
||||
(lsp)))) ; or lsp-deferred
|
||||
#+END_SRC
|
||||
* Which-key
|
||||
Amazing tool, love it a bunch.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
@ -436,3 +444,9 @@ This makes stuff a lot easier I hope.
|
|||
:ensure t)
|
||||
|
||||
#+END_SRC
|
||||
* envrc
|
||||
Automatically sets up files so I can use an LSP and more.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package envrc
|
||||
:hook (after-init . envrc-global-mode))
|
||||
#+END_SRC
|
||||
|
|
|
@ -23,6 +23,7 @@ pkgs.emacsWithPackagesFromUsePackage {
|
|||
which-key
|
||||
lsp-mode
|
||||
lsp-ui
|
||||
lsp-pyright
|
||||
treemacs
|
||||
lsp-treemacs
|
||||
consult-lsp
|
||||
|
@ -36,6 +37,7 @@ pkgs.emacsWithPackagesFromUsePackage {
|
|||
treemacs-magit
|
||||
rustic
|
||||
haskell-mode
|
||||
envrc
|
||||
];
|
||||
override = _: prev: { use-package = prev.emacs; };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue