fix(emacs): begin using use-package
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
952ee5b1df
commit
9663369078
1 changed files with 104 additions and 89 deletions
193
.emacs.d/init.el
193
.emacs.d/init.el
|
@ -16,116 +16,131 @@
|
||||||
(load bootstrap-file nil 'nomessage))
|
(load bootstrap-file nil 'nomessage))
|
||||||
|
|
||||||
;; Elisp
|
;; Elisp
|
||||||
(straight-use-package 's)
|
(use-package s :straight t)
|
||||||
(straight-use-package 'f)
|
(use-package f :straight t)
|
||||||
(straight-use-package 'dash)
|
(use-package dash :straight t)
|
||||||
|
|
||||||
|
|
||||||
;; Completion
|
;; Completion
|
||||||
(straight-use-package 'company)
|
(use-package company :straight t)
|
||||||
(straight-use-package 'company-box)
|
(use-package company-box :straight t)
|
||||||
(straight-use-package 'company-math)
|
(use-package company-math :straight t)
|
||||||
(straight-use-package 'vertico)
|
(use-package vertico :straight t)
|
||||||
(straight-use-package 'marginalia)
|
(use-package marginalia :straight t)
|
||||||
(straight-use-package 'orderless)
|
(use-package orderless :straight t)
|
||||||
(straight-use-package 'consult)
|
(use-package consult :straight t)
|
||||||
(straight-use-package 'yasnippet)
|
(use-package yasnippet :straight t)
|
||||||
(straight-use-package 'yasnippet-snippets)
|
(use-package yasnippet-snippets :straight t)
|
||||||
|
|
||||||
;; Syntax checking and editing
|
;; Syntax checking and editing
|
||||||
(straight-use-package 'meow)
|
(use-package meow :straight t)
|
||||||
(straight-use-package 'flycheck)
|
(use-package flycheck :straight t)
|
||||||
(straight-use-package 'paredit)
|
(use-package paredit :straight t)
|
||||||
|
|
||||||
;; Convenience
|
;; Convenience
|
||||||
(straight-use-package 'projectile)
|
(use-package projectile :straight t)
|
||||||
(straight-use-package 'bufler)
|
(use-package bufler :straight t)
|
||||||
(straight-use-package 'embark)
|
(use-package embark :straight t)
|
||||||
(straight-use-package 'embark-consult)
|
(use-package embark-consult :straight t)
|
||||||
(straight-use-package 'wgrep)
|
(use-package wgrep :straight t)
|
||||||
|
|
||||||
;; UI
|
;; UI
|
||||||
(straight-use-package 'magit)
|
(use-package magit :straight t)
|
||||||
(straight-use-package 'forge)
|
(use-package forge :straight t)
|
||||||
(straight-use-package 'neotree)
|
(use-package neotree :straight t)
|
||||||
(straight-use-package 'all-the-icons)
|
(use-package all-the-icons :straight t)
|
||||||
(straight-use-package 'git-gutter)
|
(use-package git-gutter :straight t)
|
||||||
(straight-use-package 'hl-todo)
|
(use-package hl-todo :straight t)
|
||||||
(straight-use-package '(nano-theme :type git :host github
|
(use-package nano-theme
|
||||||
:repo "rougier/nano-theme"))
|
:straight '(nano-theme :type git :host github
|
||||||
|
:repo "rougier/nano-theme"))
|
||||||
|
|
||||||
;; Org
|
;; Org
|
||||||
(straight-use-package 'org)
|
(use-package org :straight t)
|
||||||
(straight-use-package 'org-roam)
|
(use-package org-roam :straight t)
|
||||||
(straight-use-package 'org-modern)
|
(use-package org-modern :straight t)
|
||||||
(straight-use-package 'org-recur)
|
(use-package org-recur :straight t)
|
||||||
(straight-use-package '(org-modern-indent
|
(use-package org-modern-indent
|
||||||
:type git
|
:straight
|
||||||
:host github
|
'(org-modern-indent
|
||||||
:repo "jdtsmith/org-modern-indent"))
|
:type git
|
||||||
(straight-use-package '(ob-racket
|
:host github
|
||||||
:type git
|
:repo "jdtsmith/org-modern-indent"))
|
||||||
:host github
|
(use-package ob-racket
|
||||||
:repo "hasu/emacs-ob-racket"))
|
:straight
|
||||||
|
'(ob-racket
|
||||||
|
:type git
|
||||||
|
:host github
|
||||||
|
:repo "hasu/emacs-ob-racket"))
|
||||||
|
|
||||||
;; Productivity
|
;; Productivity
|
||||||
(straight-use-package 'elfeed)
|
(use-package elfeed :straight t)
|
||||||
(straight-use-package '(pdf-tools :type git :host github
|
(use-package pdf-tools
|
||||||
:repo "vedang/pdf-tools"))
|
:straight
|
||||||
(straight-use-package 'olivetti)
|
'(pdf-tools :type git :host github
|
||||||
(straight-use-package 'rg)
|
:repo "vedang/pdf-tools"))
|
||||||
(straight-use-package 'anzu)
|
(use-package olivetti :straight t)
|
||||||
(straight-use-package 'vterm)
|
(use-package rg :straight t)
|
||||||
(straight-use-package 'hledger-mode)
|
(use-package anzu :straight t)
|
||||||
|
(use-package vterm :straight t)
|
||||||
|
(use-package hledger-mode :straight t)
|
||||||
|
|
||||||
;; LSP
|
;; LSP
|
||||||
(straight-use-package 'lsp-mode)
|
(use-package lsp-mode :straight t)
|
||||||
(straight-use-package 'lsp-ui)
|
(use-package lsp-ui :straight t)
|
||||||
(straight-use-package 'eglot)
|
(use-package eglot :straight t)
|
||||||
(straight-use-package 'eldoc-box)
|
(use-package eldoc :straight t)
|
||||||
(straight-use-package 'lsp-grammarly)
|
(use-package eldoc-box :straight t)
|
||||||
|
(use-package lsp-grammarly :straight t)
|
||||||
|
|
||||||
;; Programming
|
;; Programming
|
||||||
(straight-use-package '(copilot :type git :host github
|
(use-package copilot
|
||||||
:repo "zerolfx/copilot.el"
|
:straight
|
||||||
:branch "main"
|
'(copilot :type git :host github
|
||||||
:files ("dist" "*.el")))
|
:repo "zerolfx/copilot.el"
|
||||||
|
:branch "main"
|
||||||
|
:files ("dist" "*.el")))
|
||||||
|
|
||||||
;; Languages
|
;; Languages
|
||||||
(straight-use-package 'racket-mode)
|
(use-package racket-mode :straight t)
|
||||||
(straight-use-package 'rust-mode)
|
(use-package rust-mode :straight t)
|
||||||
(straight-use-package 'rustic)
|
(use-package rustic :straight t)
|
||||||
|
|
||||||
(straight-use-package 'markdown-mode)
|
(use-package markdown-mode :straight t)
|
||||||
(straight-use-package 'rjsx-mode)
|
(use-package rjsx-mode :straight t)
|
||||||
(straight-use-package 'just-mode)
|
(use-package just-mode :straight t)
|
||||||
(straight-use-package 'justl)
|
(use-package justl :straight t)
|
||||||
(straight-use-package 'scribble-mode)
|
(use-package scribble-mode :straight t)
|
||||||
(straight-use-package 'go-mode)
|
(use-package go-mode :straight t)
|
||||||
(straight-use-package 'auctex)
|
(use-package auctex :straight t)
|
||||||
(straight-use-package 'cdlatex)
|
(use-package cdlatex :straight t)
|
||||||
(straight-use-package 'yaml-mode)
|
(use-package yaml-mode :straight t)
|
||||||
(straight-use-package 'poetry)
|
(use-package poetry :straight t)
|
||||||
(straight-use-package 'slime)
|
(use-package slime :straight t)
|
||||||
(straight-use-package 'slime-company)
|
(use-package slime-company :straight t)
|
||||||
(straight-use-package 'haskell-mode)
|
(use-package haskell-mode :straight t)
|
||||||
(straight-use-package 'lsp-haskell)
|
(use-package lsp-haskell :straight t)
|
||||||
(straight-use-package 'eglot-java)
|
(use-package eglot-java :straight t)
|
||||||
(straight-use-package 'company-coq)
|
(use-package company-coq :straight t)
|
||||||
(straight-use-package 'proof-general)
|
(use-package llvm-mode
|
||||||
(straight-use-package '(llvm-mode :type git :host github
|
:straight
|
||||||
:repo "nverno/llvm-mode"))
|
'(llvm-mode :type git :host github
|
||||||
(straight-use-package '(pollen-mode :type git :host github
|
:repo "nverno/llvm-mode"))
|
||||||
:repo "basus/pollen-mode"))
|
(use-package pollen-mode
|
||||||
(straight-use-package 'clojure-mode)
|
:straight
|
||||||
|
'(pollen-mode :type git :host github
|
||||||
|
:repo "basus/pollen-mode"))
|
||||||
|
(use-package clojure-mode :straight t)
|
||||||
|
|
||||||
(straight-use-package 'tuareg)
|
(use-package tuareg :straight t)
|
||||||
(straight-use-package 'utop)
|
(use-package utop :straight t)
|
||||||
(straight-use-package 'dune)
|
(use-package dune :straight t)
|
||||||
(straight-use-package 'flycheck-ocaml)
|
(use-package flycheck-ocaml :straight t)
|
||||||
(straight-use-package 'merlin-eldoc)
|
(use-package merlin-eldoc :straight t)
|
||||||
(straight-use-package 'ocamlformat)
|
(use-package ocamlformat :straight t)
|
||||||
(straight-use-package 'elixir-mode)
|
(use-package elixir-mode :straight t)
|
||||||
|
(use-package inf-elixir :straight t)
|
||||||
|
(use-package nix-mode :straight t)
|
||||||
|
|
||||||
|
|
||||||
;; ====== Custom =============================
|
;; ====== Custom =============================
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue