Add typescript mode tide and move ascii table to one hideous line
This commit is contained in:
parent
390fabafad
commit
df00aae35a
@ -1 +1 @@
|
||||
(setq package-enable-at-startup nil)
|
||||
(setq package-enable-at-startup t)
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user