plenary.nvim
plenary.nvim copied to clipboard
plenary: full; complete; entire; absolute; unqualified. All the lua functions I don't want to write twice.
I am getting errors while using the oneshot channel like in the readme. Here a minimal example I tested: ```lua Test = function() local async = require'plenary.async' local tx, rx...
During popup creation it is possible to pass in the `callback` option but when executing it it throws: `E5108: Error executing lua [string ":lua"]:1: module 'popup' not found:` ``` local...
I am trying to test my plugin, but it not show nothing, i try to put [test](https://github.com/nvim-lua/plenary.nvim/blob/master/TESTS_README.md#a-simple-test) of the documentation but it not show nothing. I need require somenting like...
Would require 0.8, iirc but once this is minimum required version we might be able to drop plenary.filetype or use vim.filetype as implementation detail for plenary.filetype, so we dont break...
I'm adding type annotations and some documentations for plenary. At first, I have added to `plenary.path` because this is the most popular module here, I think. ### TODO * [x]...
This came up in https://github.com/epwalsh/obsidian.nvim/issues/88 and I think I've tracked it down to a bug with the path module here. Running: ```lua Path:new("C:/Users/myhome/my/local/obsidian/repo/"):mkdir { parents = true, exist_ok = true...
You'd expect this to echo `true`, and this is what happens: ``` :lua print(require('plenary.path'):new('.'):find_upwards('node_modules'):exists()) ``` You'd expect this to echo `false`, but instead it just hangs: ``` :lua print(require('plenary.path'):new('.'):find_upwards('red_herring'):exists()) ```
I got this error While fresh install using NvChad/starter ``` E5108: Error executing lua: ...a/Local/nvim-data/lazy/plenary.nvim/lua/plenary/path.lua:643: Could not create file: C:\Users\Syukri\Documents\Digi\digisign-devkube\C:/Users/Syukri/AppData/Local/nvim-data/telescope_history stack traceback: [C]: in function 'error' ...a/Local/nvim-data/lazy/plenary.nvim/lua/plenary/path.lua:643: in function 'touch'...
When there is no file to be found `find_upwards` gets stuck in an infinite-loop. This PR should address this.
Hi, I'm the author of [Whaler.nvim](https://github.com/salorak/whaler.nvim). I had a feature added ( [issue here](https://github.com/SalOrak/whaler.nvim/issues/20) ) to the plugin which under the hook uses plenary. The idea is that whaler scan...