feat(???): add some new stuff

This commit is contained in:
Artur Manuel 2024-08-04 01:23:35 +01:00
commit 5f3439280c
Failed to generate hash of commit
2 changed files with 16 additions and 0 deletions

View file

@ -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

View file

@ -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; };
}