 
 (defun my-lsp-format ()
   (interactive)
+  (delete-trailing-whitespace)
   (if (bound-and-true-p lsp-mode)
       (progn
         (lsp-format-buffer)

   "%"  '(split-right :which-key "split right")
   "\""  '(split-down :which-key "split down")
   "d"  '(delete-window :which-key "delete window")
   "x"  '(kill-buffer-and-window :which-key "kill buffer+window")
   "n"  '(other-frame :which-key "other frame")
   ;; Terminal
   "`"  '(ansi-term :which-key "open terminal")
   ;; Editing


;; Font
;; Set default font
(add-to-list 'default-frame-alist '(font . "SF Mono-16"))
(add-to-list 'default-frame-alist '(height . 24))
(add-to-list 'default-frame-alist '(width . 80))
;; disable bold
