{"action":"opened","issue":{"url":"https://api.github.com/repos/rhysd/vim-operator-surround/issues/28","labels_url":"https://api.github.com/repos/rhysd/vim-operator-surround/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/rhysd/vim-operator-surround/issues/28/comments","events_url":"https://api.github.com/repos/rhysd/vim-operator-surround/issues/28/events","html_url":"https://github.com/rhysd/vim-operator-surround/issues/28","id":125769188,"number":28,"title":".vimrcを再読み込みしたときにg:operator#surround#default_blocksがマージされない？","user":{"login":"murashitas","id":6524359,"avatar_url":"https://avatars.githubusercontent.com/u/6524359?v=3","gravatar_id":"","url":"https://api.github.com/users/murashitas","html_url":"https://github.com/murashitas","followers_url":"https://api.github.com/users/murashitas/followers","following_url":"https://api.github.com/users/murashitas/following{/other_user}","gists_url":"https://api.github.com/users/murashitas/gists{/gist_id}","starred_url":"https://api.github.com/users/murashitas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murashitas/subscriptions","organizations_url":"https://api.github.com/users/murashitas/orgs","repos_url":"https://api.github.com/users/murashitas/repos","events_url":"https://api.github.com/users/murashitas/events{/privacy}","received_events_url":"https://api.github.com/users/murashitas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-09T16:59:04Z","updated_at":"2016-01-09T16:59:04Z","closed_at":null,"body":"`let g:operator#surround#blocks`を設定している状態で.vimrcを再読み込み（`:source $MYVIMRC`）すると、`g:operator#surround#blocks`に`g:operator#surround#default_blocks`がマージされないのか、デフォルトの設定が効かなくなってしまうようです。たとえば以下のように設定しているとき……\r\n\r\n```\r\nlet g:operator#surround#blocks = {}\r\nlet g:operator#surround#blocks['-'] = [\r\n    \\   { 'block' : ['（', '）'], 'motionwise' : ['char', 'line', 'block'], 'keys' : ['P'] },\r\n    \\   { 'block' : ['「', '」'], 'motionwise' : ['char', 'line', 'block'], 'keys' : ['B'] },\r\n    \\   { 'block' : ['『', '』'], 'motionwise' : ['char', 'line', 'block'], 'keys' : ['D'] },\r\n    \\ ]\r\n```\r\n\r\n.vimrcを再読み込みしたあとに`<Plug>(operator-surround-append)wP`ならば`（word）`としてくれるのですが、 `<Plug>(operator-surround-append)w(`すると、単語が`(word(`と囲まれてしまう感じです。\r\n\r\nバグというよりは、私の設定のしかたがまずいのだろうと思ってはいるのですが、回避する方法などあればご教示いただけないでしょうか……！"}}