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)
|
||||||
|
@ -263,6 +263,15 @@ After installing the ~rust-analyzer~ program, the following can be used:
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Web Stuff
|
*** 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
|
**** Web Mode
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
;; web-mode
|
;; web-mode
|
||||||
|
@ -1,5 +1,2 @@
|
|||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
|
(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)
|
||||||
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)))))
|
|
||||||
|
Loading…
Reference in New Issue
Block a user