{"action":"created","issue":{"url":"https://api.github.com/repos/junegunn/vim-plug/issues/520","repository_url":"https://api.github.com/repos/junegunn/vim-plug","labels_url":"https://api.github.com/repos/junegunn/vim-plug/issues/520/labels{/name}","comments_url":"https://api.github.com/repos/junegunn/vim-plug/issues/520/comments","events_url":"https://api.github.com/repos/junegunn/vim-plug/issues/520/events","html_url":"https://github.com/junegunn/vim-plug/issues/520","id":176299612,"number":520,"title":"The length of `runtimepath` is limited, thus the number of plugins too","user":{"login":"BimbaLaszlo","id":7034200,"avatar_url":"https://avatars.githubusercontent.com/u/7034200?v=3","gravatar_id":"","url":"https://api.github.com/users/BimbaLaszlo","html_url":"https://github.com/BimbaLaszlo","followers_url":"https://api.github.com/users/BimbaLaszlo/followers","following_url":"https://api.github.com/users/BimbaLaszlo/following{/other_user}","gists_url":"https://api.github.com/users/BimbaLaszlo/gists{/gist_id}","starred_url":"https://api.github.com/users/BimbaLaszlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BimbaLaszlo/subscriptions","organizations_url":"https://api.github.com/users/BimbaLaszlo/orgs","repos_url":"https://api.github.com/users/BimbaLaszlo/repos","events_url":"https://api.github.com/users/BimbaLaszlo/events{/privacy}","received_events_url":"https://api.github.com/users/BimbaLaszlo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-12T05:55:01Z","updated_at":"2016-09-13T07:57:46Z","closed_at":null,"body":"I using ~65 plugins, but some of them are not in the `runtimepath` - I made a research to find the problem and found the answer in `:help options`:\r\n\r\n> Note the maximum length of an expanded option is limited.  How much depends on\r\nthe system, mostly it is something like 256 or 1024 characters.\r\n\r\nSo if there is too much path to add to `rtp` it simply trimming it. For example try to add a very long string to `rtp` - the end of it will disappear.\r\n\r\nI think some kind of condition should be added before the `rtp` modification which tests if it would be too long and warn the user about it.\r\n\r\n------------------------------\r\n\r\n<!-- Put the contents of `:version` below -->\r\n```\r\nVIM - Vi IMproved 7.4 (2013 Aug 10, compiled Sep  5 2016 22:07:57)\r\nMS-Windows 32-bit GUI version with OLE support\r\nIncluded patches: 1-2334\r\nCompiled by appveyor@APPVYR-WIN\r\nHuge version with GUI.  Features included (+) or not (-):\r\n+acl                +eval               +mouse              +syntax\r\n+arabic             +ex_extra           +mouseshape         +tag_binary\r\n+autocmd            +extra_search       +multi_byte_ime/dyn +tag_old_static\r\n+balloon_eval       +farsi              +multi_lang         -tag_any_white\r\n+browse             +file_in_path       +mzscheme/dyn       +tcl/dyn\r\n++builtin_terms     +find_in_path       +netbeans_intg      -termguicolors\r\n+byte_offset        +float              +num64              -tgetent\r\n+channel            +folding            +ole                -termresponse\r\n+cindent            -footer             +packages           +textobjects\r\n+clientserver       +gettext/dyn        +path_extra         +timers\r\n+clipboard          -hangul_input       +perl/dyn           +title\r\n+cmdline_compl      +iconv/dyn          +persistent_undo    +toolbar\r\n+cmdline_hist       +insert_expand      -postscript         +user_commands\r\n+cmdline_info       +job                +printer            +vertsplit\r\n+comments           +jumplist           +profile            +virtualedit\r\n+conceal            +keymap             +python/dyn         +visual\r\n+cryptv             +lambda             +python3/dyn        +visualextra\r\n+cscope             +langmap            +quickfix           +viminfo\r\n+cursorbind         +libcall            +reltime            +vreplace\r\n+cursorshape        +linebreak          +rightleft          +wildignore\r\n+dialog_con_gui     +lispindent         +ruby/dyn           +wildmenu\r\n+diff               +listcmds           +scrollbind         +windows\r\n+digraphs           +localmap           +signs              +writebackup\r\n+directx            +lua/dyn            +smartindent        -xfontset\r\n-dnd                +menu               +startuptime        -xim\r\n-ebcdic             +mksession          +statusline         +xpm_w32\r\n+emacs_tags         +modify_fname       -sun_workshop       -xterm_save\r\n   system vimrc file: \"$VIM\\vimrc\"\r\n     user vimrc file: \"$HOME\\_vimrc\"\r\n 2nd user vimrc file: \"$HOME\\vimfiles\\vimrc\"\r\n 3rd user vimrc file: \"$VIM\\_vimrc\"\r\n      user exrc file: \"$HOME\\_exrc\"\r\n  2nd user exrc file: \"$VIM\\_exrc\"\r\n  system gvimrc file: \"$VIM\\gvimrc\"\r\n    user gvimrc file: \"$HOME\\_gvimrc\"\r\n2nd user gvimrc file: \"$HOME\\vimfiles\\gvimrc\"\r\n3rd user gvimrc file: \"$VIM\\_gvimrc\"\r\n       defaults file: \"$VIMRUNTIME\\defaults.vim\"\r\n    system menu file: \"$VIMRUNTIME\\menu.vim\"\r\nCompilation: cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32\r\n-DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL   -DFEAT_XPM_W32\r\n-DWINVER=0x500 -D_WIN32_WINNT=0x500  /Fo.\\ObjGXOULYHTRZi386/ -DHAVE_STDINT_H\r\n/Ox /GL -DNDEBUG  /Zl /MT -DFEAT_OLE -DFEAT_MBYTE_IME -DDYNAMIC_IME\r\n-DFEAT_MBYTE -DFEAT_GUI_W32 -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DDYNAMIC_ICONV\r\n-DDYNAMIC_GETTEXT -DFEAT_TCL -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\\\"tcl86.dll\\\"\r\n-DDYNAMIC_TCL_VER=\\\"8.6\\\" -DFEAT_LUA -DDYNAMIC_LUA\r\n-DDYNAMIC_LUA_DLL=\\\"lua53.dll\\\" -DFEAT_PYTHON -DDYNAMIC_PYTHON\r\n-DDYNAMIC_PYTHON_DLL=\\\"python27.dll\\\" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3\r\n-DDYNAMIC_PYTHON3_DLL=\\\"python35.dll\\\" -DFEAT_MZSCHEME -I \"C:\\Program Files\r\n(x86)\\Racket\\include\" -DMZ_PRECISE_GC -DDYNAMIC_MZSCHEME\r\n-DDYNAMIC_MZSCH_DLL=\\\"libracket3m_9zltds.dll\\\"\r\n-DDYNAMIC_MZGC_DLL=\\\"libracket3m_9zltds.dll\\\" -DFEAT_PERL\r\n-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DDYNAMIC_PERL\r\n-DDYNAMIC_PERL_DLL=\\\"perl524.dll\\\" -DFEAT_RUBY -DDYNAMIC_RUBY\r\n-DDYNAMIC_RUBY_VER=22 -DDYNAMIC_RUBY_DLL=\\\"msvcrt-ruby220.dll\\\" -DFEAT_HUGE\r\n/Fd.\\ObjGXOULYHTRZi386/ /Zi\r\nLinking: link /RELEASE /nologo /subsystem:windows /LTCG:STATUS oldnames.lib\r\nkernel32.lib advapi32.lib shell32.lib gdi32.lib  comdlg32.lib ole32.lib\r\nuuid.lib /machine:i386 gdi32.lib version.lib   winspool.lib comctl32.lib\r\nadvapi32.lib shell32.lib  /machine:i386 /nodefaultlib libcmt.lib oleaut32.lib\r\nuser32.lib  /nodefaultlib:lua53.lib  /STACK:8388608\r\n/nodefaultlib:python27.lib /nodefaultlib:python35.lib\r\n\"C:\\Tcl\\lib\\tclstub86.lib\" WSock32.lib xpm\\x86\\lib\\libXpm.lib /PDB:gvim.pdb\r\n-debug\r\n```\r\n\r\n<!-- Check all that apply. -->\r\n- Type:\r\n    - [X] Bug\r\n    - [X] Enhancement\r\n    - [ ] Feature Request\r\n    - [ ] Question\r\n- OS:\r\n    - [X] All/Other\r\n    - [ ] Linux\r\n    - [ ] OS X\r\n    - [ ] Windows\r\n- Vim:\r\n    - [X] Terminal Vim\r\n    - [X] GVim\r\n    - [ ] Neovim\r\n"},"comment":{"url":"https://api.github.com/repos/junegunn/vim-plug/issues/comments/246604597","html_url":"https://github.com/junegunn/vim-plug/issues/520#issuecomment-246604597","issue_url":"https://api.github.com/repos/junegunn/vim-plug/issues/520","id":246604597,"user":{"login":"junegunn","id":700826,"avatar_url":"https://avatars.githubusercontent.com/u/700826?v=3","gravatar_id":"","url":"https://api.github.com/users/junegunn","html_url":"https://github.com/junegunn","followers_url":"https://api.github.com/users/junegunn/followers","following_url":"https://api.github.com/users/junegunn/following{/other_user}","gists_url":"https://api.github.com/users/junegunn/gists{/gist_id}","starred_url":"https://api.github.com/users/junegunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junegunn/subscriptions","organizations_url":"https://api.github.com/users/junegunn/orgs","repos_url":"https://api.github.com/users/junegunn/repos","events_url":"https://api.github.com/users/junegunn/events{/privacy}","received_events_url":"https://api.github.com/users/junegunn/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T07:57:46Z","updated_at":"2016-09-13T07:57:46Z","body":"Hi, can this be a problem of Windows Vim? The length of my current &rtp is well over 1024, and I can set it to be much longer.\r\n\r\n```vim\r\nlet &rtp = join(map(range(1, 10000), '\"foobar\"'), ',')\r\necho len(&rtp)\r\n  \" 69999\r\n```"}}
{"actor":{"display_login":"junegunn"}}