|  |  | 
 |  |  |              rust-mode
 | 
 |  |  |              sh-mode
 | 
 |  |  |              ;; verilog-mode
 | 
 |  |  |              go-mode) . lsp))
 | 
 |  |  |              go-mode
 | 
 |  |  |              python-mode) . lsp))
 | 
 |  |  |     :init
 | 
 |  |  |     (setq lsp-keymap-prefix "C-c l")
 | 
 |  |  |     :commands lsp
 | 
 |  |  | 
 |  |  |                                              "BreakBeforeBraces: Linux,"
 | 
 |  |  |                                              "AllowShortIfStatementsOnASingleLine: false,"
 | 
 |  |  |                                              "IndentCaseLabels: false}"))))
 | 
 |  |  | 
 | 
 |  |  |   (use-package clang-format
 | 
 |  |  |     :hook (c-mode-common . (set-clang-format-style)))
 | 
 |  |  |   (add-hook 'c-mode-common-hook 'set-clang-format-style)
 | 
 |  |  |    | 
 |  |  |   (use-package clang-format)
 | 
 |  |  | 
 | 
 |  |  |   ;;   (defun clang-format-on-save ()
 | 
 |  |  |   ;;     (add-hook 'before-save-hook 'clang-format-buffer nil t))
 | 
 |  |  | 
 |  |  | #+BEGIN_SRC emacs-lisp
 | 
 |  |  |   (use-package company-go)
 | 
 |  |  | #+END_SRC
 | 
 |  |  | *** Python
 | 
 |  |  | **** COMMENT LSP server
 | 
 |  |  | Use jedi, idk why.
 | 
 |  |  | #+BEGIN_SRC emacs-lisp
 | 
 |  |  |   (use-package lsp-jedi
 | 
 |  |  |     :config
 | 
 |  |  |     (add-to-list 'lsp-disabled-clients 'pyls)
 | 
 |  |  |     (add-to-list 'lsp-enabled-clients 'jedi))
 | 
 |  |  | #+END_SRC
 | 
 |  |  | * Org mode
 | 
 |  |  | ** Up to date org
 | 
 |  |  | Pull the latest org mode from the repository, rather than the org which comes with emacs.
 |