{"action":"opened","issue":{"url":"https://api.github.com/repos/lervag/vimtex/issues/448","repository_url":"https://api.github.com/repos/lervag/vimtex","labels_url":"https://api.github.com/repos/lervag/vimtex/issues/448/labels{/name}","comments_url":"https://api.github.com/repos/lervag/vimtex/issues/448/comments","events_url":"https://api.github.com/repos/lervag/vimtex/issues/448/events","html_url":"https://github.com/lervag/vimtex/issues/448","id":152038946,"number":448,"title":"Skim not launching on compile","user":{"login":"alecshaw","id":10132281,"avatar_url":"https://avatars.githubusercontent.com/u/10132281?v=3","gravatar_id":"","url":"https://api.github.com/users/alecshaw","html_url":"https://github.com/alecshaw","followers_url":"https://api.github.com/users/alecshaw/followers","following_url":"https://api.github.com/users/alecshaw/following{/other_user}","gists_url":"https://api.github.com/users/alecshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/alecshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecshaw/subscriptions","organizations_url":"https://api.github.com/users/alecshaw/orgs","repos_url":"https://api.github.com/users/alecshaw/repos","events_url":"https://api.github.com/users/alecshaw/events{/privacy}","received_events_url":"https://api.github.com/users/alecshaw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-30T16:19:12Z","updated_at":"2016-04-30T16:19:12Z","closed_at":null,"body":"I recently reinstalled Vim and MacVim with Homebrew and in the process seem to have broken something in vimtex's ability to launch Skim PDF, or to notice certain changes after a compilation. I've looked through past issues and can't resolve the problem myself.\r\n\r\nI'm using this MWE:\r\n```\r\n\\documentclass{article}\r\n\\usepackage{lipsum}\r\n\\begin{document}\r\n\\lipsum[1]\r\n\\end{document}\r\n```\r\n\r\nThe compilation is said to be successful. I am wondering if there is some kind of issue with `$success_cmd` and `$failure_cmd` now.\r\n\r\n```\r\n:!cd '/Users/alecshaw/Desktop/mwe' && max_print_line=2000 latexmk -verbose -pdf -file-line-error -synctex=1 -interaction=nonstopmode -e '$success_cmd = \"'\"\"'/usr/local/Cellar/macvim/7.4-\r\n101/MacVim.app/Contents/MacOS/Vim'\"\"' --servername VIM --remote-expr \\\"vimtex#latexmk#callback(1)\\\"\"' -e '$failure_cmd = \"'\"\"'/usr/local/Cellar/macvim/7.4-101/MacVim.app/Contents/MacOS/Vim'\"\"' --servername VIM --remote-expr \\\"vimtex#latexmk#callback(0)\\\"\"' -e '$pdf_previewer = \"/Applications/Skim.app/Contents/SharedSupport/displayline\"' 'mwe.tex'\r\nLatexmk: This is Latexmk, John Collins, 24 February 2016, version: 4.44.\r\nLatexmk: All targets (mwe.pdf) are up-to-date\r\nlatexmk compile: success\r\n```\r\n\r\n`:VimtexView` also does nothing.\r\n\r\nHere are what I believe to be the relevant settings in my `.vimrc` file:\r\n```\r\nexecute pathogen#infect()\r\nfiletype plugin indent on\r\nsyntax on\r\nset encoding=utf-8\r\nset noswapfile\r\nset nocompatible\r\n\r\n\" Vimtex\r\n\" ------\r\nlet g:tex_flavor='latex'\r\nlet g:vimtex_latexmk_continuous=0\r\nlet g:vimtex_quickfix_ignored_warnings=[\r\n  \\ 'Underfull',\r\n  \\ 'Overfull',\r\n  \\ 'specifier changed to',\r\n\\]\r\nlet g:vimtex_view_general_viewer\r\n  \\ = '/Applications/Skim.app/Contents/SharedSupport/displayline'\r\nlet g:vimtex_view_general_options='-r @line @pdf @tex'\r\n\" This adds a callback hook that updates Skim after compilation\r\nlet g:vimtex_latexmk_callback_hooks=['Update Skim']\r\nfunction! UpdateSkim(status)\r\n  if !a:status | return | endif\r\n  let l:out=b:vimtex.out()\r\n  let l:cmd=[g:vimtex_view_general_viewer, '-r']\r\n  if !empty(system('pgrep Skim'))\r\n    call extend(l:cmd, ['-g'])\r\n  endif\r\n  if has('nvim')\r\n    call jobstart(l:cmd + [line('.'), l:out])\r\n  elseif has ('job)\r\n    call job_start(l:cmd + [line('.'), l:out])\r\n  else\r\n    call system(join(l:cmd + [line('.'), shellescape(l:out)], ' '))\r\n  endif\r\nendfunction\r\n```\r\n\r\nPlease let me know if I've left something out that would help, and thanks for any help."}}