<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/fs.lua, branch floattitle</title>
<subtitle>Neovim fork with Rahm's personal hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/'/>
<entry>
<title>feat(fs): extend fs.find to accept predicate (#20193)</title>
<updated>2022-09-13T20:16:20+00:00</updated>
<author>
<name>Mathias Fußenegger</name>
<email>mfussenegger@users.noreply.github.com</email>
</author>
<published>2022-09-13T20:16:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=a8c9e721d91efe4730db78c1115261fc128dca68'/>
<id>a8c9e721d91efe4730db78c1115261fc128dca68</id>
<content type='text'>
Makes it possible to use `vim.fs.find` to find files where only a
substring is known.
This is useful for `vim.lsp.start` to get the `root_dir` for languages
where the project-file is only known by its extension, not by the full
name.
For example in .NET projects there is usually a `&lt;projectname&gt;.csproj`
file in the project root.

Example:

    vim.fs.find(function(x) return vim.endswith(x, '.csproj') end, { upward = true })</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Makes it possible to use `vim.fs.find` to find files where only a
substring is known.
This is useful for `vim.lsp.start` to get the `root_dir` for languages
where the project-file is only known by its extension, not by the full
name.
For example in .NET projects there is usually a `&lt;projectname&gt;.csproj`
file in the project root.

Example:

    vim.fs.find(function(x) return vim.endswith(x, '.csproj') end, { upward = true })</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(lua): reformat with stylua 0.14.0 (#19264)</title>
<updated>2022-07-07T16:27:18+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2022-07-07T16:27:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=aa4f9c5341f5280f16cce0630ea54b84eef717b3'/>
<id>aa4f9c5341f5280f16cce0630ea54b84eef717b3</id>
<content type='text'>
* reformat Lua runtime to make lint CI pass
* reduce max line length to 100</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* reformat Lua runtime to make lint CI pass
* reduce max line length to 100</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lsp): add a start function (#18631)</title>
<updated>2022-06-03T12:59:19+00:00</updated>
<author>
<name>Mathias Fußenegger</name>
<email>mfussenegger@users.noreply.github.com</email>
</author>
<published>2022-06-03T12:59:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=69774e317982edbe943c7d75cb0369fc001dec39'/>
<id>69774e317982edbe943c7d75cb0369fc001dec39</id>
<content type='text'>
A alternative/subset of https://github.com/neovim/neovim/pull/18506  that should be forward compatible with a potential project system.

Configuration of LSP clients (without lspconfig) now looks like this:

    vim.lsp.start({
       name = 'my-server-name',
       cmd = {'name-of-language-server-executable'},
       root_dir = vim.fs.dirname(vim.fs.find({'setup.py', 'pyproject.toml'}, { upward = true })[1]),
    })
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A alternative/subset of https://github.com/neovim/neovim/pull/18506  that should be forward compatible with a potential project system.

Configuration of LSP clients (without lspconfig) now looks like this:

    vim.lsp.start({
       name = 'my-server-name',
       cmd = {'name-of-language-server-executable'},
       root_dir = vim.fs.dirname(vim.fs.find({'setup.py', 'pyproject.toml'}, { upward = true })[1]),
    })
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(fs): add vim.fs.normalize()</title>
<updated>2022-05-31T19:30:10+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2022-05-17T14:49:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=046b4ed461cb78b8b302a6403cc7ea64ad6b6085'/>
<id>046b4ed461cb78b8b302a6403cc7ea64ad6b6085</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(fs): add vim.fs.find()</title>
<updated>2022-05-31T19:04:41+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2022-05-16T02:37:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f271d706611049bc53a6a439b310fe60bf0fab13'/>
<id>f271d706611049bc53a6a439b310fe60bf0fab13</id>
<content type='text'>
This is a pure Lua implementation of the Vim findfile() and finddir()
functions without the special syntax.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a pure Lua implementation of the Vim findfile() and finddir()
functions without the special syntax.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(fs): add vim.fs.dir()</title>
<updated>2022-05-31T19:04:41+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2022-05-16T02:10:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=2a62bec37ced51678ff914700d7165605d5a0d53'/>
<id>2a62bec37ced51678ff914700d7165605d5a0d53</id>
<content type='text'>
This function is modeled after the path.dir() function from Penlight and
the luafilesystem module.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This function is modeled after the path.dir() function from Penlight and
the luafilesystem module.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(fs): add vim.fs.basename()</title>
<updated>2022-05-31T19:04:41+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2022-05-16T01:55:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=b740709431f5e68dac5238d455f9f86d5a564f36'/>
<id>b740709431f5e68dac5238d455f9f86d5a564f36</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(fs): add vim.fs.dirname()</title>
<updated>2022-05-31T19:04:41+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2022-05-16T01:53:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=c5526a27c3b61acb33b7c3c3fe518d8f1e0b602f'/>
<id>c5526a27c3b61acb33b7c3c3fe518d8f1e0b602f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(fs): add vim.fs.parents()</title>
<updated>2022-05-31T19:04:40+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2022-05-15T20:38:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=67cbaf58c41a3db19c5014587e72d06be9e3d58e'/>
<id>67cbaf58c41a3db19c5014587e72d06be9e3d58e</id>
<content type='text'>
vim.fs.parents() is a Lua iterator that returns the next parent
directory of the given file or directory on each iteration.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
vim.fs.parents() is a Lua iterator that returns the next parent
directory of the given file or directory on each iteration.
</pre>
</div>
</content>
</entry>
</feed>
