{"action":"closed","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/3519","labels_url":"https://api.github.com/repos/neovim/neovim/issues/3519/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/3519/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/3519/events","html_url":"https://github.com/neovim/neovim/issues/3519","id":113486136,"number":3519,"title":"Last character of 'directory' is dropped","user":{"login":"yyt16384","id":9570781,"avatar_url":"https://avatars.githubusercontent.com/u/9570781?v=3","gravatar_id":"","url":"https://api.github.com/users/yyt16384","html_url":"https://github.com/yyt16384","followers_url":"https://api.github.com/users/yyt16384/followers","following_url":"https://api.github.com/users/yyt16384/following{/other_user}","gists_url":"https://api.github.com/users/yyt16384/gists{/gist_id}","starred_url":"https://api.github.com/users/yyt16384/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyt16384/subscriptions","organizations_url":"https://api.github.com/users/yyt16384/orgs","repos_url":"https://api.github.com/users/yyt16384/repos","events_url":"https://api.github.com/users/yyt16384/events{/privacy}","received_events_url":"https://api.github.com/users/yyt16384/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neovim/neovim/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/neovim/neovim/milestones/5","html_url":"https://github.com/neovim/neovim/milestones/0.1-first-public-release","labels_url":"https://api.github.com/repos/neovim/neovim/milestones/5/labels","id":652241,"number":5,"title":"0.1-first-public-release","description":"beta release, codename: \"whoa\"","creator":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":114,"state":"open","created_at":"2014-05-07T21:37:18Z","updated_at":"2015-10-28T02:08:34Z","due_on":"2015-10-31T04:00:00Z","closed_at":null},"comments":4,"created_at":"2015-10-27T01:33:13Z","updated_at":"2015-10-28T02:08:34Z","closed_at":"2015-10-28T02:08:34Z","body":"Running `nvim -u NONE --cmd 'set directory=/tmp/foo' abc` does not create swap files in `/tmp/foo`. Instead, it creates `/tmp/fo` and write swap files there.\r\n\r\nWith `directory` set to `/tmp/foo/a` swap files are written in `/tmp/foo`, and with `directory` set to `/tmp/foo,/tmp/bar` swap files are written in `/tmp/foo` correctly.\r\n\r\nIt seems that the last character in `directory` get dropped for some reason."}}