mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2025-01-22 07:30:14 +01:00
update nvim config
This commit is contained in:
parent
5aff46595a
commit
e3c06c3e43
4 changed files with 19 additions and 12 deletions
11
nvim/lua/pluginconf/firenvim.lua
Normal file
11
nvim/lua/pluginconf/firenvim.lua
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
local blacklistedSites = {".*twitch\\.tv.*", ".*twitter\\.com.*"}
|
||||||
|
|
||||||
|
local localSettings = {}
|
||||||
|
for _, site in pairs(blacklistedSites) do
|
||||||
|
localSettings[site] = { takeover = "never" }
|
||||||
|
end
|
||||||
|
|
||||||
|
vim.g.firenvim_config = {
|
||||||
|
localSettings = localSettings
|
||||||
|
}
|
||||||
|
|
|
@ -14,7 +14,13 @@ return require("packer").startup(function(use)
|
||||||
use "jiangmiao/auto-pairs"
|
use "jiangmiao/auto-pairs"
|
||||||
use "tpope/vim-endwise"
|
use "tpope/vim-endwise"
|
||||||
use "vimwiki/vimwiki"
|
use "vimwiki/vimwiki"
|
||||||
use {"glacambre/firenvim", run = function() vim.fn["firenvim#install"](0) end}
|
use {
|
||||||
|
"glacambre/firenvim",
|
||||||
|
run = function() vim.fn["firenvim#install"](0) end,
|
||||||
|
config = function()
|
||||||
|
require("pluginconf.firenvim")
|
||||||
|
end
|
||||||
|
}
|
||||||
use "jreybert/vimagit"
|
use "jreybert/vimagit"
|
||||||
use "airblade/vim-gitgutter"
|
use "airblade/vim-gitgutter"
|
||||||
use "dag/vim-fish"
|
use "dag/vim-fish"
|
||||||
|
@ -25,7 +31,7 @@ return require("packer").startup(function(use)
|
||||||
"glepnir/galaxyline.nvim",
|
"glepnir/galaxyline.nvim",
|
||||||
branch = "main",
|
branch = "main",
|
||||||
config = function()
|
config = function()
|
||||||
require("statusline")
|
require("pluginconf.galaxyline")
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
end)
|
end)
|
||||||
|
|
|
@ -19,16 +19,6 @@ g.NERDTreeShowHidden = true
|
||||||
|
|
||||||
cmd("colorscheme dracula")
|
cmd("colorscheme dracula")
|
||||||
|
|
||||||
-- firenvim config
|
|
||||||
local localSettings = {}
|
|
||||||
localSettings[".*twitch\\.tv.*"] = {
|
|
||||||
takeover = "never"
|
|
||||||
}
|
|
||||||
|
|
||||||
g.firenvim_config = {
|
|
||||||
localSettings = localSettings
|
|
||||||
}
|
|
||||||
|
|
||||||
-- Highlight the symbol and its references when holding the cursor.
|
-- Highlight the symbol and its references when holding the cursor.
|
||||||
cmd("autocmd CursorHold * silent call CocActionAsync('highlight')")
|
cmd("autocmd CursorHold * silent call CocActionAsync('highlight')")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue