aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2025-03-31 09:11:18 +0200
committerNicholas Rodrigues Lordello <[email protected]>2025-03-31 09:11:18 +0200
commitf04ebc942b4a6c91836801b0415fed86830348e0 (patch)
treed27772483e45dbe2a37e35823cfbe0602b0dfb0e
parentb210c1519210e89e0308270d72c9969e932844a3 (diff)
No More Tab Indentation
Fixes configuration to **actually** disable tab indentation (there was a typo in the sanemacs.el before). Also go through the local configuration and remove all instances of tabs.
-rw-r--r--config/emacs/flavours/development.el43
-rw-r--r--config/emacs/init.el4
-rw-r--r--config/emacs/sanemacs.el2
3 files changed, 25 insertions, 24 deletions
diff --git a/config/emacs/flavours/development.el b/config/emacs/flavours/development.el
index 6a6409d..14c25b9 100644
--- a/config/emacs/flavours/development.el
+++ b/config/emacs/flavours/development.el
@@ -8,7 +8,7 @@
:ensure nil
:bind
(:map eglot-mode-map
- ("M-q" . eglot-format)))
+ ("M-q" . eglot-format)))
(use-package ligature
:hook
@@ -17,26 +17,27 @@
(ligature-set-ligatures
'prog-mode
'(;; Group A
- ".." ".=" "..." "..<" "::" ":::" ":=" "::=" ";;" ";;;" "??" "???" ".?" "?."
- ":?" "?:" "?=" "**" "***" "/*" "*/" "/**"
- ;; Group B
- "<-" "->" "-<" ">-" "<--" "-->" "<<-" "->>" "-<<" ">>-" "<-<" ">->" "<-|"
- "|->" "-|" "|-" "||-" "<!--" "<#--" "<=" "=>" ">=" "<==" "==>" "<<=" "=>>"
- "=<<" ">>=" "<=<" ">=>" "<=|" "|=>" "<=>" "<==>" "||=" "|=" "//=" "/=" "/=="
- ;; Group C
- "<<" ">>" "<<<" ">>>" "<>" "<$" "$>" "<$>" "<+" "+>" "<+>" "<:" ":<" "<:<"
- ">:" ":>" "<~" "~>" "<~>" "<<~" "<~~" "~~>" "~~" "<|" "|>" "<|>" "<||"
- "||>" "<|||" "|||>" "</" "/>" "</>" "<*" "*>" "<*>" ":?>"
- ;; Group D
- "#(" "#{" "#[" "]#" "#!" "#?" "#=" "#_" "#_(" "##" "###" "####"
- ;; Group E
- "[|" "|]" "[<" ">]" "{!!" "!!}" "{|" "|}" "{{" "}}" "{{--" "--}}" "{!--"
- "//" "///" "!!"
- ;; Group F
- "www" "@_" "&&" "&&&" "&=" "~@" "++" "+++" "/\\" "\\/" "_|_" "||"
- ;; Group G
- "=:" "=:=" "=!=" "==" "===" "=/=" "=~" "~-" "^=" "__" "!=" "!==" "-~" "--"
- "---")))
+ ".." ".=" "..." "..<" "::" ":::" ":=" "::=" ";;" ";;;" "??" "???" ".?" "?."
+ ":?" "?:" "?=" "**" "***" "/*" "*/" "/**"
+ ;; Group B
+ "<-" "->" "-<" ">-" "<--" "-->" "<<-" "->>" "-<<" ">>-" "<-<" ">->" "<-|"
+ "|->" "-|" "|-" "||-" "<!--" "<#--" "<=" "=>" ">=" "<==" "==>" "<<=" "=>>"
+ "=<<" ">>=" "<=<" ">=>" "<=|" "|=>" "<=>" "<==>" "||=" "|=" "//=" "/="
+ "/=="
+ ;; Group C
+ "<<" ">>" "<<<" ">>>" "<>" "<$" "$>" "<$>" "<+" "+>" "<+>" "<:" ":<" "<:<"
+ ">:" ":>" "<~" "~>" "<~>" "<<~" "<~~" "~~>" "~~" "<|" "|>" "<|>" "<||"
+ "||>" "<|||" "|||>" "</" "/>" "</>" "<*" "*>" "<*>" ":?>"
+ ;; Group D
+ "#(" "#{" "#[" "]#" "#!" "#?" "#=" "#_" "#_(" "##" "###" "####"
+ ;; Group E
+ "[|" "|]" "[<" ">]" "{!!" "!!}" "{|" "|}" "{{" "}}" "{{--" "--}}" "{!--"
+ "//" "///" "!!"
+ ;; Group F
+ "www" "@_" "&&" "&&&" "&=" "~@" "++" "+++" "/\\" "\\/" "_|_" "||"
+ ;; Group G
+ "=:" "=:=" "=!=" "==" "===" "=/=" "=~" "~-" "^=" "__" "!=" "!==" "-~" "--"
+ "---")))
(use-package magit
:custom
diff --git a/config/emacs/init.el b/config/emacs/init.el
index f7f5435..075e901 100644
--- a/config/emacs/init.el
+++ b/config/emacs/init.el
@@ -14,7 +14,7 @@
Allows initialization and customization differentiation with a
shared .emacs."
:type '(choice (const :tag "Plain" plain)
- (const :tag "Development" development))
+ (const :tag "Development" development))
:group 'convenience)
(when (eq system-flavour 'development)
@@ -24,4 +24,4 @@
(let ((local-init "~/.config/emacs/local-init.el"))
(when (file-exists-p local-init)
- (load local-init nil t)))
+ (load local-init nil t)))
diff --git a/config/emacs/sanemacs.el b/config/emacs/sanemacs.el
index 2bc3a4d..54ebca3 100644
--- a/config/emacs/sanemacs.el
+++ b/config/emacs/sanemacs.el
@@ -17,7 +17,7 @@
sentence-end-double-space nil)
(setq-default
cursor-type 'bar
- indent-tab-mode nil
+ indent-tabs-mode nil
show-trailing-whitespace t
tab-width 4)
(load-theme 'modus-vivendi)