Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
peacerebel
dotfiles
Commits
92221110
Commit
92221110
authored
Jun 01, 2022
by
peacerebel
Browse files
Emacs: Increase font size ans TS/JS indentation
parent
37b6f3ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
.emacs.d/config.el
View file @
92221110
...
...
@@ -130,7 +130,7 @@
;; Font settings
(
defvar
pr/default-font
"Hack"
)
(
defvar
pr/default-font-size
8
)
(
defvar
pr/default-font-size
12
)
(
defvar
pr/current-font-size
pr/default-font-size
)
(
defvar
pr/font-change-increment
1.0
)
...
...
@@ -364,6 +364,8 @@ other, future frames."
;; Typescript
(
use-package
typescript-mode
:config
(
setq
typescript-indent-level
2
)
:init
(
add-to-list
'auto-mode-alist
'
(
"\\.ts$"
.
typescript-mode
)))
...
...
@@ -388,6 +390,8 @@ other, future frames."
(
use-package
js2-mode
:config
(
setq
js2-highlight-level
3
)
(
setq
js2-include-node-externs
t
)
(
add-hook
'js-mode-hook
'js2-minor-mode
))
(
use-package
tern
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment