Some fixes for package locating on Mac and Flycheck
This commit is contained in:
parent
ce14a1d4ea
commit
876e7f4997
2 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,11 @@
|
|||
(set-face-attribute 'default nil :font "Menlo" :height 130)
|
||||
|
||||
(require 'jg-package)
|
||||
|
||||
;; Explicitly import the PATH from the shell on MacOS
|
||||
(package-install 'exec-path-from-shell)
|
||||
(exec-path-from-shell-initialize)
|
||||
|
||||
(require 'jg-core)
|
||||
(require 'jg-display)
|
||||
(require 'jg-style)
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
;;; Code:
|
||||
|
||||
(use-package flycheck
|
||||
:init
|
||||
(setq flycheck-python-flake8-executable "flake8")
|
||||
(setq flycheck-python-pylint-executable "pylint")
|
||||
:config
|
||||
(add-hook 'after-init-hook #'global-flycheck-mode))
|
||||
|
||||
|
|
Loading…
Reference in a new issue