diff --git a/lazy-lock.json b/lazy-lock.json index e135c97d..24df99f0 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -1,6 +1,7 @@ { "Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" }, "LuaSnip": { "branch": "master", "commit": "cab667e2674881001a86a7478fff7dc7791c63f5" }, + "automaton.nvim": { "branch": "master", "commit": "b3db3598375ccd0557f0ed80286afae9d7e77208" }, "cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, diff --git a/lua/custom/plugins/automaton.lua b/lua/custom/plugins/automaton.lua new file mode 100644 index 00000000..5d5f1046 --- /dev/null +++ b/lua/custom/plugins/automaton.lua @@ -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 +}