Support Python
Adds configuration for my Python preferences.
This commit is contained in:
parent
e389f02007
commit
9ed59566eb
5 changed files with 32 additions and 0 deletions
14
configs/shared/emacs/.emacs.d/wpc/packages/wpc-python.el
Normal file
14
configs/shared/emacs/.emacs.d/wpc/packages/wpc-python.el
Normal file
|
@ -0,0 +1,14 @@
|
|||
;;; wpc-python.el --- Hosts python tooling preferences -*- lexical-binding: t -*-
|
||||
;; Author: William Carroll <wpcarro@gmail.com>
|
||||
|
||||
;;; Commentary:
|
||||
;; Python tooling for work, life, etc.
|
||||
|
||||
;;; Code:
|
||||
(use-package lsp-python
|
||||
:config
|
||||
(general-add-hook 'python-mode-hook #'lsp-python-enable)
|
||||
(general-add-hook 'before-save-hook #'lsp-format-buffer))
|
||||
|
||||
(provide 'wpc-python)
|
||||
;;; wpc-python.el ends here
|
Loading…
Add table
Add a link
Reference in a new issue