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
|
(use-package haskell-mode
|
||||||
:mode "\\.hs\\'")
|
:mode "\\.hs\\'")
|
||||||
#+END_SRC
|
#+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
|
* Which-key
|
||||||
Amazing tool, love it a bunch.
|
Amazing tool, love it a bunch.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
@ -436,3 +444,9 @@ This makes stuff a lot easier I hope.
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
|
||||||
#+END_SRC
|
#+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
|
which-key
|
||||||
lsp-mode
|
lsp-mode
|
||||||
lsp-ui
|
lsp-ui
|
||||||
|
lsp-pyright
|
||||||
treemacs
|
treemacs
|
||||||
lsp-treemacs
|
lsp-treemacs
|
||||||
consult-lsp
|
consult-lsp
|
||||||
|
@ -36,6 +37,7 @@ pkgs.emacsWithPackagesFromUsePackage {
|
||||||
treemacs-magit
|
treemacs-magit
|
||||||
rustic
|
rustic
|
||||||
haskell-mode
|
haskell-mode
|
||||||
|
envrc
|
||||||
];
|
];
|
||||||
override = _: prev: { use-package = prev.emacs; };
|
override = _: prev: { use-package = prev.emacs; };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue