dasupradyumna / launch.nvim Goto Github PK
View Code? Open in Web Editor NEW:rocket: A task launcher plugin for neovim allowing dynamic task configuration per directory, with optional support for debugging
License: GNU General Public License v3.0
:rocket: A task launcher plugin for neovim allowing dynamic task configuration per directory, with optional support for debugging
License: GNU General Public License v3.0
After installing launch.nvim with lazy, i get the following error message on startup:
.../.local/share/nvim/lazy/launch.nvim/plugin/launch.lua:31: attempt to index field 'uv' (a nil value)
I believe that vim.uv
is only available in 0.10 since i tested in 0.9.4, I suggest using vim.loop
instead.
run LaunchOpenConfigFile and got this
Error executing Lua callback: ...l/share/nvim-custom/lazy/launch.nvim/lua/launch/view.lua:38: attempt to index field 'task' (a nil value)
stack traceback:
...l/share/nvim-custom/lazy/launch.nvim/lua/launch/view.lua:38: in function '__index'
...share/nvim-custom/lazy/launch.nvim/lua/launch/config.lua:108: in function 'open_file'
...cal/share/nvim-custom/lazy/launch.nvim/plugin/launch.lua:19: in function <...cal/share/nvim-custom/lazy/launch.nvim/plugin/launch.lua:19>
This plugin is just fantastic. All I want is the ability to map some keys to a few common task names like Build
or Run
.
I think the best way to do this is to take an optional parameter like the title says.
At the very least, it'd be nice to expose a nice lua api because, at the moment, I need to copy a lot of code to do what I want.
Thank you for your time.
0.10.0
Win 10
Hi,
I have tried to use your example to test the user variable.
I realized that the select mode can't work, I have tried using it on both WinOS and Linux OS.
return {
task = {
{
name = 'Test User Variables',
command = 'echo',
args = { '{@select_type}', '{@input_type}' },
}
},
var = {
select_type = {
type = 'select',
desc = 'selection type variable',
items = { '<item1>', '<item2>' }
},
input_type = {
type = 'input',
desc = 'input type variable',
default = '<default_value>',
},
}
}
Could you please support me to check it?
I used the default configuration which I follow your documentation
Hey,
thanks for writing this plugin. Sadly I can't seem to actually add any tasks to it. Whenever I added anything to the task list, the config does not get loaded or refreshed anymore. If I leave the config completely empty, it shows the notification that the config has been reloaded, but it does not do that anymore with content in it. LaunchShowTaskConfigs
also shows no tasks configured.
This is my minimal reproducible example:
task = {
{
name = "List files",
command = "ls -la"
}
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.