<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/autoload/spellfile.vim, branch 20220114-mix</title>
<subtitle>Neovim fork with Rahm's personal hacks.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/'/>
<entry>
<title>runtime: update `g:spellfile_URL` to URL used in Vim 8</title>
<updated>2020-09-17T11:31:55+00:00</updated>
<author>
<name>Alexander Heinrich</name>
<email>alxhnr@users.noreply.github.com</email>
</author>
<published>2020-09-17T11:31:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=53efdedca97072f7463830d49f5d755801471c09'/>
<id>53efdedca97072f7463830d49f5d755801471c09</id>
<content type='text'>
See vim/vim@7ff7846
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See vim/vim@7ff7846
</pre>
</div>
</content>
</entry>
<entry>
<title>spellfile.vim: improve error message for missing spellfile</title>
<updated>2019-11-10T20:35:45+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-11-10T20:35:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b9c9283f729c60d98634587190eb14c6bbf428e5'/>
<id>b9c9283f729c60d98634587190eb14c6bbf428e5</id>
<content type='text'>
Problem:  If spellfile is missing, then "set spell" in modeline/sandbox
          fails with a non-obvious error.
Solution: Check for sandbox early and give a meaningful error.
          Fixes #11359

Test case:
    # test.latex has `% vim: set spelllang=hu:`
    # no spell file for `hu` yet!
    nvim -u NORC --cmd 'autocmd FileType tex setlocal spell' --cmd 'set modeline' test.latex

Before:
    No spell file for "hu" in utf-8
    Download it?
    Downloading hu.utf-8.spl...
    Error detected while processing /usr/local/share/nvim/runtime/autoload/netrw.vim:
    line  583:
    E12: Command not allowed from exrc/vimrc in current dir or tag search: au WinEnter *^Iif &amp;ft == "netrw"|call s:NetrwInsureWinVars()|endif
    Error detected while processing function spellfile#LoadFile[60]..spellfile#Nread[13]..netrw#NetRead[4]..&lt;SNR&gt;67_NetrwOptionsSave:
    line   66:
    E171: Missing :endif
    Error detected while processing function spellfile#LoadFile[60]..spellfile#Nread:
    line   13:
    E171: Missing :endif
    Error detected while processing function spellfile#LoadFile:
    line   60:
    E171: Missing :endif
    Error detected while processing modelines:
    line    1:
    E12: Command not allowed from exrc/vimrc in current dir or tag search

After:
    Error detected while processing function spellfile#LoadFile:
    line    5:
    E605: Exception not caught: Cannot download spellfile in sandbox/modeline. Try ":set spell" from the cmdline.
    Error detected while processing modelines:
    line    1:
    E12: Command not allowed from exrc/vimrc in current dir or tag search
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:  If spellfile is missing, then "set spell" in modeline/sandbox
          fails with a non-obvious error.
Solution: Check for sandbox early and give a meaningful error.
          Fixes #11359

Test case:
    # test.latex has `% vim: set spelllang=hu:`
    # no spell file for `hu` yet!
    nvim -u NORC --cmd 'autocmd FileType tex setlocal spell' --cmd 'set modeline' test.latex

Before:
    No spell file for "hu" in utf-8
    Download it?
    Downloading hu.utf-8.spl...
    Error detected while processing /usr/local/share/nvim/runtime/autoload/netrw.vim:
    line  583:
    E12: Command not allowed from exrc/vimrc in current dir or tag search: au WinEnter *^Iif &amp;ft == "netrw"|call s:NetrwInsureWinVars()|endif
    Error detected while processing function spellfile#LoadFile[60]..spellfile#Nread[13]..netrw#NetRead[4]..&lt;SNR&gt;67_NetrwOptionsSave:
    line   66:
    E171: Missing :endif
    Error detected while processing function spellfile#LoadFile[60]..spellfile#Nread:
    line   13:
    E171: Missing :endif
    Error detected while processing function spellfile#LoadFile:
    line   60:
    E171: Missing :endif
    Error detected while processing modelines:
    line    1:
    E12: Command not allowed from exrc/vimrc in current dir or tag search

After:
    Error detected while processing function spellfile#LoadFile:
    line    5:
    E605: Exception not caught: Cannot download spellfile in sandbox/modeline. Try ":set spell" from the cmdline.
    Error detected while processing modelines:
    line    1:
    E12: Command not allowed from exrc/vimrc in current dir or tag search
</pre>
</div>
</content>
</entry>
<entry>
<title>spellfile.vim: store files in stdpath('data')</title>
<updated>2019-04-27T19:34:54+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-04-15T19:03:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=83d571653bdc100d8fe56b4241f29a1aa996c705'/>
<id>83d571653bdc100d8fe56b4241f29a1aa996c705</id>
<content type='text'>
ref b9b2fb7d5d03 #6664 #6272
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ref b9b2fb7d5d03 #6664 #6272
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:a9604e614517</title>
<updated>2018-10-29T08:50:08+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2018-10-29T08:47:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=877d5c8be799bb89107741ed9a0e24e22a1b4295'/>
<id>877d5c8be799bb89107741ed9a0e24e22a1b4295</id>
<content type='text'>
Update runtime files.
https://github.com/vim/vim/commit/a9604e61451707b38fdcb088fbfaeea2b922fef6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update runtime files.
https://github.com/vim/vim/commit/a9604e61451707b38fdcb088fbfaeea2b922fef6
</pre>
</div>
</content>
</entry>
<entry>
<title>spellfile.vim: Search for a writable directory on Windows</title>
<updated>2017-11-07T01:54:07+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2017-11-06T20:54:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b9b2fb7d5d032d2618fd5cefc185cab4a034a351'/>
<id>b9b2fb7d5d032d2618fd5cefc185cab4a034a351</id>
<content type='text'>
Fixes #6664 until #6272 is merged and sdtpath('data') can be used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #6664 until #6272 is merged and sdtpath('data') can be used.
</pre>
</div>
</content>
</entry>
<entry>
<title>spellfile.vim: use :keeppatterns before :global</title>
<updated>2017-11-06T00:56:04+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2017-10-23T20:25:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8cb77acb44c4e9be12a301ce347dd6e5d76dfa61'/>
<id>8cb77acb44c4e9be12a301ce347dd6e5d76dfa61</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>spellfile.vim: less pestering</title>
<updated>2016-04-10T08:27:25+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2016-04-10T03:40:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=3462f46cb8965c3e5a0c4fbdc12ade57df01c475'/>
<id>3462f46cb8965c3e5a0c4fbdc12ade57df01c475</id>
<content type='text'>
- Always auto-create spell/ directory, don't ask.
- Don't ask where to put .spl file if only 1 choice exists.
- Always download .sug file, don't ask.
- Use blackhole register for :delete and :g//d.
- Formatting: expand tabs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Always auto-create spell/ directory, don't ask.
- Don't ask where to put .spl file if only 1 choice exists.
- Always download .sug file, don't ask.
- Use blackhole register for :delete and :g//d.
- Formatting: expand tabs.
</pre>
</div>
</content>
</entry>
<entry>
<title>spellfile: follow the XDG spec</title>
<updated>2015-10-28T13:46:00+00:00</updated>
<author>
<name>Felipe Morales</name>
<email>hel.sheep@gmail.com</email>
</author>
<published>2015-10-28T09:17:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=6b6f018f84e8e2c74dbcf79e8b8214fd0622b43a'/>
<id>6b6f018f84e8e2c74dbcf79e8b8214fd0622b43a</id>
<content type='text'>
Closes #3535
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #3535
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: Misc. cleanup</title>
<updated>2015-03-24T23:29:29+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2015-02-17T06:28:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=adfc8cf50a138a25bbe22f3c6e50ce7bd8c143e7'/>
<id>adfc8cf50a138a25bbe22f3c6e50ce7bd8c143e7</id>
<content type='text'>
Add missing parentheses and whatnot, move dangling comment, etc. Some
specific items worth mentioning:

Fixed some references to non-existent tags, found via `make html`

msgpack_rpc/channel.c:
  ELOG already prefixes each line with "error @ ..."
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add missing parentheses and whatnot, move dangling comment, etc. Some
specific items worth mentioning:

Fixed some references to non-existent tags, found via `make html`

msgpack_rpc/channel.c:
  ELOG already prefixes each line with "error @ ..."
</pre>
</div>
</content>
</entry>
<entry>
<title>runtime: make the spellfile creation use .nvim folder #1990</title>
<updated>2015-02-15T17:19:55+00:00</updated>
<author>
<name>Seth Woodworth</name>
<email>seth@sethish.com</email>
</author>
<published>2015-02-15T05:13:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=fd636fc6dcd8a547daab1544432877bf8efa0c1e'/>
<id>fd636fc6dcd8a547daab1544432877bf8efa0c1e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
