Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | feat(lsp): add a start function (#18631) | Mathias Fußenegger | 2022-06-03 |
| | | | | | | | | | | | | 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]), }) | ||
* | feat(fs): add vim.fs.normalize() | Gregory Anders | 2022-05-31 |
| | |||
* | feat(fs): add vim.fs.find() | Gregory Anders | 2022-05-31 |
| | | | | | This is a pure Lua implementation of the Vim findfile() and finddir() functions without the special syntax. | ||
* | feat(fs): add vim.fs.dir() | Gregory Anders | 2022-05-31 |
| | | | | | This function is modeled after the path.dir() function from Penlight and the luafilesystem module. | ||
* | feat(fs): add vim.fs.basename() | Gregory Anders | 2022-05-31 |
| | |||
* | feat(fs): add vim.fs.dirname() | Gregory Anders | 2022-05-31 |
| | |||
* | feat(fs): add vim.fs.parents() | Gregory Anders | 2022-05-31 |
vim.fs.parents() is a Lua iterator that returns the next parent directory of the given file or directory on each iteration. |