Add typescript mode tide and move ascii table to one hideous line

This commit is contained in:
Logan Hunt 2022-12-05 17:13:06 -07:00
parent 390fabafad
commit df00aae35a
No known key found for this signature in database
GPG Key ID: 8AC6A4B840C0EC49
3 changed files with 13 additions and 7 deletions

View File

@ -1 +1 @@
(setq package-enable-at-startup nil)
(setq package-enable-at-startup t)

View File

@ -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

View File

@ -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)