diff options
author | Case Duckworth | 2020-11-24 08:33:52 -0600 |
---|---|---|
committer | Case Duckworth | 2020-11-24 08:33:52 -0600 |
commit | 683e72fd2af84fc4fd1b9ff551792fa7c979487c (patch) | |
tree | 6f8f4469fb804b8ca94517eaa81d5751b1c949f2 | |
parent | Ensure blank lines in Org Mode (diff) | |
download | emacs-683e72fd2af84fc4fd1b9ff551792fa7c979487c.tar.gz emacs-683e72fd2af84fc4fd1b9ff551792fa7c979487c.zip |
Add Smart Tabs
-rw-r--r-- | config.org | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config.org b/config.org index d8f0325..a825f03 100644 --- a/config.org +++ b/config.org | |||
@@ -861,6 +861,19 @@ from [[https://github.com/alphapapa/unpackaged.el#org-return-dwim][unpackaged.el | |||
861 | (global-aggressive-indent-mode 1)) | 861 | (global-aggressive-indent-mode 1)) |
862 | #+end_src | 862 | #+end_src |
863 | 863 | ||
864 | *** Smart tabs | ||
865 | |||
866 | #+begin_src emacs-lisp | ||
867 | (use-package smart-tabs-mode | ||
868 | :custom | ||
869 | (whitespace-style | ||
870 | '(face trailing tabs spaces lines newline | ||
871 | empty indentation space-before-tab | ||
872 | space-mark tab-mark newline-mark)) | ||
873 | :config | ||
874 | (smart-tabs-insinuate 'c 'c++ 'javascript 'java 'ruby)) | ||
875 | #+end_src | ||
876 | |||
864 | ** Display | 877 | ** Display |
865 | 878 | ||
866 | *** Prettify symbols mode | 879 | *** Prettify symbols mode |