Skip to content

Commit

Permalink
not save .ac-php-conf.json in tramp/ssh #90
Browse files Browse the repository at this point in the history
  • Loading branch information
xcwen committed Nov 15, 2018
1 parent 11234d0 commit c03c3a3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ac-php-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -1299,8 +1299,10 @@ Non-nil SILENT will supress extra status info in the minibuffer."
(let ( config-file-name )

(setq config-file-name (f-join project-root-dir ".ac-php-conf.json" ) )
(when (or (not (f-exists? config-file-name ) )
( = (f-size config-file-name ) 0 ))
(when(and
(not (s-starts-with-p "/ssh:" config-file-name ))
(or (not (f-exists? config-file-name ) )
( = (f-size config-file-name ) 0 )))
(ac-php--json-save-data config-file-name
'(
:use-cscope nil
Expand Down

0 comments on commit c03c3a3

Please sign in to comment.