add automaton, a vscode workspace replacement if neovim
This commit is contained in:
parent
4e1dea8c2b
commit
01bad4de6e
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
"Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" },
|
"Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" },
|
||||||
"LuaSnip": { "branch": "master", "commit": "cab667e2674881001a86a7478fff7dc7791c63f5" },
|
"LuaSnip": { "branch": "master", "commit": "cab667e2674881001a86a7478fff7dc7791c63f5" },
|
||||||
|
"automaton.nvim": { "branch": "master", "commit": "b3db3598375ccd0557f0ed80286afae9d7e77208" },
|
||||||
"cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" },
|
"cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" },
|
||||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
||||||
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
||||||
|
|
|
@ -0,0 +1,43 @@
|
||||||
|
return {
|
||||||
|
"Dax89/automaton.nvim",
|
||||||
|
dependencies = {
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
"nvim-telescope/telescope.nvim",
|
||||||
|
"mfussenegger/nvim-dap", -- Debug support for 'launch' configurations (Optional)
|
||||||
|
"hrsh7th/nvim-cmp", -- Autocompletion for automaton workspace files (Optional)
|
||||||
|
"L3MON4D3/LuaSnip", -- Snippet support for automaton workspace files (Optional)
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require("automaton").setup({
|
||||||
|
debug = false,
|
||||||
|
saveall = true,
|
||||||
|
ignore_ft = {},
|
||||||
|
|
||||||
|
terminal = {
|
||||||
|
position = "botright",
|
||||||
|
size = 10,
|
||||||
|
},
|
||||||
|
|
||||||
|
integrations = {
|
||||||
|
luasnip = false,
|
||||||
|
cmp = false,
|
||||||
|
cmdcolor = require("automaton.utils").colors.yellow,
|
||||||
|
},
|
||||||
|
|
||||||
|
icons = {
|
||||||
|
buffer = "",
|
||||||
|
close = "",
|
||||||
|
launch = "",
|
||||||
|
task = "",
|
||||||
|
workspace = "",
|
||||||
|
},
|
||||||
|
|
||||||
|
events = {
|
||||||
|
workspacechanged = function(ws)
|
||||||
|
-- "ws" is the current workspace object (can be nil)
|
||||||
|
end
|
||||||
|
}
|
||||||
|
|
||||||
|
})
|
||||||
|
end
|
||||||
|
}
|
Loading…
Reference in New Issue