From e761a7f2eca4c08fec26c29cd2834bf641b92bcc Mon Sep 17 00:00:00 2001 From: ache Date: Sun, 21 Jul 2024 05:38:13 +0200 Subject: Typo in plugin name firenvim --- lua/ache/plugins/firenvim.lua | 29 +++++++++++++++++++++++++++++ lua/ache/plugins/firevim.lua | 29 ----------------------------- 2 files changed, 29 insertions(+), 29 deletions(-) create mode 100644 lua/ache/plugins/firenvim.lua delete mode 100644 lua/ache/plugins/firevim.lua diff --git a/lua/ache/plugins/firenvim.lua b/lua/ache/plugins/firenvim.lua new file mode 100644 index 0000000..73ae7ab --- /dev/null +++ b/lua/ache/plugins/firenvim.lua @@ -0,0 +1,29 @@ +return { + "glacambre/firenvim", + + -- Lazy load firenvim + -- Explanation: https://github.com/folke/lazy.nvim/discussions/463#discussioncomment-4819297 + lazy = not vim.g.started_by_firenvim, + build = function() + if vim.g.started_by_firenvim then + vim.fn["firenvim#install"](0) + else + print("Must install by hand (set lazy = false then run the if case)") + end + end, + config = function() + vim.g.firenvim_config = { + globalSettings = { alt = "all" }, + localSettings = { + [".*"] = { + cmdline = "neovim", + content = "text", + priority = 0, + selector = "textarea", + takeover = "never", + }, + }, + } + vim.g.firenvim_config.localSettings[".*"] = { takeover = "never" } + end, +} diff --git a/lua/ache/plugins/firevim.lua b/lua/ache/plugins/firevim.lua deleted file mode 100644 index 73ae7ab..0000000 --- a/lua/ache/plugins/firevim.lua +++ /dev/null @@ -1,29 +0,0 @@ -return { - "glacambre/firenvim", - - -- Lazy load firenvim - -- Explanation: https://github.com/folke/lazy.nvim/discussions/463#discussioncomment-4819297 - lazy = not vim.g.started_by_firenvim, - build = function() - if vim.g.started_by_firenvim then - vim.fn["firenvim#install"](0) - else - print("Must install by hand (set lazy = false then run the if case)") - end - end, - config = function() - vim.g.firenvim_config = { - globalSettings = { alt = "all" }, - localSettings = { - [".*"] = { - cmdline = "neovim", - content = "text", - priority = 0, - selector = "textarea", - takeover = "never", - }, - }, - } - vim.g.firenvim_config.localSettings[".*"] = { takeover = "never" } - end, -} -- cgit v1.3-2-g11bf