Put custom languages module into init.el

This commit is contained in:
Tobias Ostner 2023-02-09 08:56:34 +01:00
parent 3f164e6e91
commit 6c4ddc7718
2 changed files with 24 additions and 32 deletions

View file

@ -41,6 +41,17 @@
;; -----------------------------------------------------------------
(use-package cider
:defer t)
(use-package clj-refactor
:hook clojure-mode)
(use-package clojure-mode
:config
(use-package flycheck-clj-kondo)
(require 'flycheck-clj-kondo))
(use-package consult
:bind
(("C-x b" . consult-buffer)
@ -49,7 +60,8 @@
("C-x p b" . consult-project-buffer)
("M-y" . consult-yank-pop)
("M-g g" . consult-goto-line)
("M-g M-g" . consult-goto-line))
("M-g M-g" . consult-goto-line)
("M-i" . consult-imenu))
:hook
(completion-list-mode . consult-preview-at-point-mode))
@ -108,6 +120,10 @@
:line-spacing 0.2)))
(fontaine-set-preset 'regular))
(use-package lsp-mode
:hook (swift-mode . lsp)
:commands lsp)
(use-package marginalia
:init
(marginalia-mode))
@ -136,6 +152,13 @@
:init
(savehist-mode))
(use-package lsp-sourcekit
:after lsp-mode
:config
(setq lsp-sourcekit-executable "/Library/Developer/CommandLineTools/usr/bin/sourcekit-lsp"))
(use-package swift-mode)
(use-package vertico
:init
(vertico-mode)