firenvim config

This commit is contained in:
Christian Nieves
2023-11-01 22:06:18 -05:00
parent 4b8d399229
commit 9c7f778344

View File

@ -9,7 +9,7 @@ return {
"andweeb/presence.nvim",
cond = not use_google(),
config = function()
require("presence").setup()
require("presence").setup({ show_time = false })
end,
},
{
@ -102,4 +102,42 @@ return {
end,
ft = { "markdown" },
},
{
"glacambre/firenvim",
-- Lazy load firenvim
-- Explanation: https://github.com/folke/lazy.nvim/discussions/463#discussioncomment-4819297
config = function()
vim.g.firenvim_config = {
localSettings = {
[ [[.*]] ] = {
cmdline = "firenvim",
priority = 0,
selector = 'textarea:not([readonly]):not([class="handsontableInput"]), div[role="textbox"]',
takeover = "always",
},
[ [[.*notion\.so.*]] ] = {
priority = 9,
takeover = "never",
},
[ [[.*docs\.google\.com.*]] ] = {
priority = 9,
takeover = "never",
},
[ [[google\.com.*]] ] = {
priority = 9,
takeover = "never",
},
[ [[twitch\.tv.*]] ] = {
priority = 9,
takeover = "never",
},
},
}
end,
lazy = not vim.g.started_by_firenvim,
build = function()
vim.fn["firenvim#install"](0)
end,
},
}