New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] re-integrate runtime/ #938
Conversation
Any updates on this? It's been over two weeks with at least four PRs blocked on it. |
Vim runtime files based on 7.4.384 / hg changeset 7090d7f160f7 remove Amiga icons (*info, icons/) remove doc/hangulin.txt vim-patch:0 Helped-by: Rich Wareham <rjw57@cam.ac.uk> Helped-by: John <john.schmidt.h@gmail.com> Helped-by: Yann <yann@yann-salaun.com> Helped-by: Christophe Badoit <c.badoit@lesiteimmo.com> Helped-by: drasill <github@tof2k.com> Helped-by: Tae Sandoval Murgan <taecilla@gmail.com> Helped-by: Lowe Thiderman <lowe.thiderman@gmail.com>
These were used to test vi compatibility.
"Demonstration of a termcap file (for the Amiga and Archimedes)"
Vim runtime files based on 7.4.384 / hg changeset 7090d7f160f7 Excluding: Amiga icons (*.info, icons/) doc/hangulin.txt tutor/ spell/ lang/ (only used for menu translations) macros/maze/, macros/hanoi/, macros/life/, macros/urm/ These were used to test vi compatibility. termcap "Demonstration of a termcap file (for the Amiga and Archimedes)" Helped-by: Rich Wareham <rjw57@cam.ac.uk> Helped-by: John <john.schmidt.h@gmail.com> Helped-by: Yann <yann@yann-salaun.com> Helped-by: Christophe Badoit <c.badoit@lesiteimmo.com> Helped-by: drasill <github@tof2k.com> Helped-by: Tae Sandoval Murgan <taecilla@gmail.com> Helped-by: Lowe Thiderman <lowe.thiderman@gmail.com>
uncomment some patch numbers that were satisfied by neovim#938
uncomment some patch numbers that were satisfied by neovim#938
Vim runtime files based on 7.4.384 / hg changeset 7090d7f160f7 Excluding: Amiga icons (*.info, icons/) doc/hangulin.txt tutor/ spell/ lang/ (only used for menu translations) macros/maze/, macros/hanoi/, macros/life/, macros/urm/ These were used to test vi compatibility. termcap "Demonstration of a termcap file (for the Amiga and Archimedes)" Helped-by: Rich Wareham <rjw57@cam.ac.uk> Helped-by: John <john.schmidt.h@gmail.com> Helped-by: Yann <yann@yann-salaun.com> Helped-by: Christophe Badoit <c.badoit@lesiteimmo.com> Helped-by: drasill <github@tof2k.com> Helped-by: Tae Sandoval Murgan <taecilla@gmail.com> Helped-by: Lowe Thiderman <lowe.thiderman@gmail.com>
I'd really like to start using nvim from my day to day tasks. I think once this PR is merged is is much easier for many people to use nvim. (Alternatively, if the install instructions in the wiki contained instructions to install the runtime files that would be nice as well...). |
@sotte: The runtime is already merged:
Installing the runtime should happen more or less automatically, as I have been using neovim instead of vim for a while now, and it works quite well :-) Nevertheless:
|
I should have been more clear. |
Oh, okay.. syntax highlighting works for me (installed Neovim from Arch Linux package), but |
I linked the runtime folder from neovim to ~/.nvim and ran I still don't have syntax hl. The runtime path looks like this: |
@sotte Could you post the output of I haven't investigated this very thoroughly, but under certain conditions, vim actually sets this variable while running and I wonder if that might be part of the problem: Lines 3034 to 3047 in 118a31c
We should probably use
You shouldn't need write permissions for it. Do you not have read permissions? |
I don't know why it worked before. |
@sotte What's the exact path you used for the neovim runtime files? Setting it to |
I remove the system wide install and set it to my git folder of nvim:
nvim is a symlink to my local bin folder |
Hmmm... not sure what the problem was because now it works. Maybe I set it wrong before. |
Migrated issues, then deleted the old |
@justinmk I just noticed that this was the PR which removed the spell files. If they are infrequently updated, then perhaps they should be included with the runtime? Vim, at least on my machine, only has english ASCII & UTF-8 spell files, but we could go one further and only supply the UTF-8 ones. |
It downloads them automatically. We should work on making that more seamless. One of our early goals was to delegate things to plugins where it makes sense to do so. Adding the spell files to the repo would be a step backwards in that respect. I think we should give it a chance before giving up... |
I think that's a great idea, but not much is really being delegated in this case, given spell.c is still 13K SLoC. I see your point though; there's not much harm in giving this a chance. |
Re-integrating these separate repos into the core repo under the
runtime/
folder:I resisted the urge to rename
runtime
to something likeuser
orshare
, because considering the contents of the directory it is really an appropriate name. I looked at projects like emacs and git for alternative precedents, and came away with the impression that Vim is actually a pretty nicely organized project: user-deployable files are in a singleruntime/
folder instead of scattered and glued together by a build script.todo:
vim-patch:0
to commit messagetutor/
,spell/
and some other directories for the time being, until it is clear that we want to maintain these (it may also make more sense for these to be downloaded as plugins instead of of being distributed with the Neovim package). These can always be added later if needed!More details/background on why we're moving away from the separate repos: #633 (comment)
Update:
The last the two tasks above are not complete, but I committed
runtime/
in order to unblock several PRs.