Merge branch 'emacs-refactor' into pylsp-settings

This commit is contained in:
Dionisio E Alonso 2024-02-04 18:28:04 -03:00
commit af5a35e874
1 changed files with 28 additions and 8 deletions

View File

@ -1,10 +1,30 @@
(custom-set-variables
'(custom-enabled-themes '(tango-dark))
'(display-line-numbers-type 'relative)
'(column-number-mode t)
'(truncate-lines t)
'(tool-bar-mode nil))
(custom-set-faces
'(default ((t (:family "Iosevka Curly Slab" :foundry "UKWN" :slant normal :weight regular :height 113 :width normal)))))
(load-theme 'tango-dark t)
(setq display-line-numbers-type 'relative)
(save-place-mode 1)
(setq column-number-mode t)
(setq-default truncate-lines t)
(tool-bar-mode -1)
(set-face-attribute 'default nil
:family "Iosevka Curly Slab"
:slant 'normal
:weight 'regular
:height 113
:width 'normal)
(add-hook 'prog-mode-hook #'display-line-numbers-mode)
(add-hook 'prog-mode-hook 'eglot-ensure) ; Requires LSP servers in PATH
(when window-system (set-frame-size (selected-frame) 85 60))
; After dealing with some nice defaults setup packages
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
(use-package vscode-dark-plus-theme
:ensure t
:config
(load-theme 'vscode-dark-plus t))
(use-package rust-mode :ensure t)
(use-package haskell-mode :ensure t)