fill long lines to avoid scrollbar on the webpage
This commit is contained in:
parent
c06af6b0a5
commit
0fd2f0bead
9
init.el
9
init.el
@ -713,7 +713,8 @@ inserted between the braces between the braces."
|
|||||||
:config
|
:config
|
||||||
(add-to-list 'lsp-language-id-configuration '(vala-mode . "vala"))
|
(add-to-list 'lsp-language-id-configuration '(vala-mode . "vala"))
|
||||||
(lsp-register-client
|
(lsp-register-client
|
||||||
(make-lsp-client :new-connection (lsp-stdio-connection '("vala-language-server"))
|
(make-lsp-client :new-connection (lsp-stdio-connection
|
||||||
|
'("vala-language-server"))
|
||||||
:major-modes '(vala-mode)
|
:major-modes '(vala-mode)
|
||||||
:server-id 'vala-ls)))
|
:server-id 'vala-ls)))
|
||||||
|
|
||||||
@ -962,7 +963,8 @@ inserted between the braces between the braces."
|
|||||||
|
|
||||||
;;; Easy switching between some fonts
|
;;; Easy switching between some fonts
|
||||||
|
|
||||||
(setq my-font-list '("Fantasque Sans Mono" "Go mono" "IBM 3270" "Inconsolata" "Monofur" "Monoid" "mononoki"))
|
(setq my-font-list '("Fantasque Sans Mono" "Go mono" "IBM 3270"
|
||||||
|
"Inconsolata" "Monofur" "Monoid" "mononoki"))
|
||||||
|
|
||||||
(defun my-set-frame-font (font-name size &optional frames)
|
(defun my-set-frame-font (font-name size &optional frames)
|
||||||
"Set font to one of the fonts from `my-font-list'
|
"Set font to one of the fonts from `my-font-list'
|
||||||
@ -1022,7 +1024,8 @@ Argument FRAMES has the same meaning as for `set-frame-font'"
|
|||||||
|
|
||||||
(defun my-frame-setup-fn (&optional frame)
|
(defun my-frame-setup-fn (&optional frame)
|
||||||
(unless (display-graphic-p frame)
|
(unless (display-graphic-p frame)
|
||||||
(set-face-background 'default "unspecified-bg" (or frame (selected-frame)))))
|
(set-face-background 'default "unspecified-bg"
|
||||||
|
(or frame (selected-frame)))))
|
||||||
|
|
||||||
(add-hook 'after-make-frame-functions #'my-frame-setup-fn)
|
(add-hook 'after-make-frame-functions #'my-frame-setup-fn)
|
||||||
(add-hook 'window-setup-hook #'my-frame-setup-fn)
|
(add-hook 'window-setup-hook #'my-frame-setup-fn)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user