update plugs save 20ms on load wooooooo
This commit is contained in:
38
vim/.vim/lua/plugins/firenvim.lua
Normal file
38
vim/.vim/lua/plugins/firenvim.lua
Normal file
@ -0,0 +1,38 @@
|
||||
return {
|
||||
"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,
|
||||
}
|
Reference in New Issue
Block a user