summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrNuget <drnuget@outlook.com>2025-11-30 01:00:42 +0200
committerDrNuget <drnuget@outlook.com>2025-11-30 01:00:42 +0200
commit3353c07d361ddc937323a20060bd0b441c222224 (patch)
tree7bfd54d355472bd742f1dbf7c51a0265c6cbb67b
parentd7a34bb3f6efb66bbef731a49640c7fe0353b2b5 (diff)
downloaddotfiles-3353c07d361ddc937323a20060bd0b441c222224.tar.gz
emacs small changes
-rw-r--r--.emacs4
-rw-r--r--.emacs.d/themes/materia-theme.el5
2 files changed, 6 insertions, 3 deletions
diff --git a/.emacs b/.emacs
index 9500199..819f687 100644
--- a/.emacs
+++ b/.emacs
@@ -6,6 +6,7 @@
(ido-mode 1)
(setq font-lock-maximum-decoration t)
+(setq inhibit-startup-screen t)
(defun line-number-hook ()
(setq display-line-numbers-type 'relative)
@@ -38,7 +39,7 @@
;; Load custom theme
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
-(load-theme 'materia)
+(load-theme 'materia :no-confirm)
;; Settings to make Emacs look more like the terminal
(modify-all-frames-parameters '((alpha-background . 80)))
@@ -46,5 +47,4 @@
(setq-default line-spacing 0)
;; Tree sitter settings
-(tree-sitter-require 'c)
(global-tree-sitter-mode)
diff --git a/.emacs.d/themes/materia-theme.el b/.emacs.d/themes/materia-theme.el
index f948b2d..8940a01 100644
--- a/.emacs.d/themes/materia-theme.el
+++ b/.emacs.d/themes/materia-theme.el
@@ -36,11 +36,14 @@
(materia--face 'bold :inherit 'default :bold t)
(materia--face 'italic :inherit 'default)
(materia--face 'bold-italic :inherit 'default :bold t)
- (materia--face 'region :inherit 'default)
+ (materia--face 'region :foreground bg :background fg)
(materia--face 'underline :inherit 'default)
(materia--face 'custom-face-tag :inherit 'default)
(materia--face 'custom-state :inherit 'default)
+ ;; Line numbers
+ (materia--face 'line-number :background bg :foreground white)
+
;; Syntax highlighting
(materia--face 'font-lock-comment-face :background bg :foreground monokai-dimmed2)
(materia--face 'font-lock-keyword-face :background bg :foreground monokai-accent1)