diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el index 512068a..c563249 100644 --- a/.emacs.d/early-init.el +++ b/.emacs.d/early-init.el @@ -1 +1 @@ -(setq package-enable-at-startup nil) +(setq package-enable-at-startup t) diff --git a/.emacs.d/settings.org b/.emacs.d/settings.org index ed0ccf9..536ea68 100644 --- a/.emacs.d/settings.org +++ b/.emacs.d/settings.org @@ -251,8 +251,8 @@ #+END_SRC *** Elixir #+BEGIN_SRC emacs-lisp - (use-package elixir-mode - :ensure t) + (use-package elixir-mode + :ensure t) #+END_SRC *** Rust After installing the ~rust-analyzer~ program, the following can be used: @@ -263,6 +263,15 @@ After installing the ~rust-analyzer~ program, the following can be used: #+END_SRC *** Web Stuff +**** TIDE +#+BEGIN_SRC emacs-lisp +(use-package tide + :ensure t + :after (typescript-mode company flycheck) + :hook ((typescript-mode . tide-setup) + (typescript-mode . tide-hl-identifier-mode) + (before-save . tide-format-before-save))) +#+END_SRC **** Web Mode #+BEGIN_SRC emacs-lisp ;; web-mode diff --git a/scripts/ascii-table.py b/scripts/ascii-table.py index c605853..3c003e2 100755 --- a/scripts/ascii-table.py +++ b/scripts/ascii-table.py @@ -1,5 +1,2 @@ #!/usr/bin/python3 - -rows = (128-32) // 4 -for i in range(rows): - print("".join(list(map(lambda x: str(x*rows+i+32).ljust(5) + str(chr(x*rows + i + 32)).strip().ljust(2) + "|", range(4))))) +(lambda rows: print("\n".join(["".join(list(map(lambda x: str(x*rows+i+32).ljust(5) + str(chr(x*rows + i + 32)).strip().ljust(2) + "|", range(4)))) for i in range(rows)])))((128-32) // 4)