瀏覽代碼

add fml plugin

biblius 9 月之前
父節點
當前提交
d3885a3ba5
共有 2 個文件被更改,包括 7 次插入0 次删除
  1. 6 0
      init.lua
  2. 1 0
      lazy-lock.json

+ 6 - 0
init.lua

@@ -63,6 +63,9 @@ require('lazy').setup({
     },
   },
 
+  -- When life gets too hard
+  'eandrju/cellular-automaton.nvim',
+
   -- NOTE: This is where your plugins related to LSP can be installed.
   --  The configuration is done below. Search for lspconfig to find it below.
   {
@@ -310,6 +313,9 @@ require('lazy').setup({
   -- { import = 'custom.plugins' },
 }, {})
 
+-- When lyf give you lemons
+vim.keymap.set("n", "<leader>fml", "<cmd>CellularAutomaton make_it_rain<CR>")
+
 -- [[ Setting options ]]
 -- See `:help vim.o`
 -- NOTE: You can change these options as you wish!

+ 1 - 0
lazy-lock.json

@@ -1,6 +1,7 @@
 {
   "Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" },
   "LuaSnip": { "branch": "master", "commit": "2dbef19461198630b3d7c39f414d09fb07d1fdd2" },
+  "cellular-automaton.nvim": { "branch": "main", "commit": "b7d056dab963b5d3f2c560d92937cb51db61cb5b" },
   "cmp-nvim-lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" },
   "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
   "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },