Merge pull request #16 from chwarr/host-config

Default to 'local for markdown-preview-host
This commit is contained in:
Igor Shymko 2016-10-04 15:13:30 +03:00 committed by GitHub
commit a5de48c4dc
1 changed files with 3 additions and 2 deletions

View File

@ -40,10 +40,11 @@
:prefix "markdown-preview-"
:link '(url-link "https://github.com/ancane/markdown-preview-mode"))
(defcustom markdown-preview-host "127.0.0.1"
(defcustom markdown-preview-host 'local
"Markdown preview websocket server address."
:group 'markdown-preview
:type 'string)
:type '(choice (const :tag "localhost" local)
(string :tag "Custom host")))
(defcustom markdown-preview-port 7379
"Markdown preview websocket server port."