Flymd and it's configuration to get around chrome not working
This commit is contained in:
parent
79d9dce3e1
commit
82819b5de0
1
Cask
1
Cask
|
@ -12,6 +12,7 @@
|
|||
(depends-on "flycheck")
|
||||
(depends-on "flycheck-cask")
|
||||
(depends-on "flycheck-pyflakes")
|
||||
(depends-on "flymd")
|
||||
(depends-on "htmlize")
|
||||
(depends-on "idle-highlight-mode")
|
||||
(depends-on "js2-mode")
|
||||
|
|
6
init.el
6
init.el
|
@ -32,3 +32,9 @@
|
|||
c-basic-offset 3)
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
|
||||
|
||||
; Flymd's flyit doesn't work well with chrome/chromeium
|
||||
(defun my-flymd-browser-function (url)
|
||||
(let ((browse-url-browser-function 'browse-url-firefox))
|
||||
(browse-url url)))
|
||||
(setq flymd-browser-open-function 'my-flymd-browser-function)
|
||||
|
|
Loading…
Reference in New Issue