dotfiles/.config/nvim/lua/my/net.lua
tastytea 4615f1f9c5
nvim: declare all plugins in one file
Having it in many files is logically nicer, but breaks on fresh
installs.
2022-08-15 04:06:26 +02:00

44 lines
1.1 KiB
Lua

require('my/plugins')
if vim.g.started_by_firenvim then
vim.g.firenvim_config = {
localSettings = {
[".*"] = {
priority = 0,
takeover = 'never',
},
['/(issues|pull|merge_requests)/'] = {
priority = 1,
takeover = 'once'
},
['https://bugs\\.gentoo\\.org/'] = {
priority = 1,
takeover = 'once'
}
}
}
vim.o.wrap = true
vim.o.guifont = 'Source_Code_Pro:h10'
vim.o.textwidth = 0
vim.o.colorcolumn = '0'
vim.api.nvim_create_augroup('firenvim', { clear = true })
vim.api.nvim_create_autocmd(
{ 'BufEnter' },
{
group = 'firenvim',
pattern = {
'schlomp.space_*',
'codeberg.org_*',
'gitlab.com_*',
'github.com_*',
'very.tastytea.de_*',
'bookwyrm.social_*',
'openlibrary.org_*',
'bugs.gentoo.org_*',
},
command = [[set filetype=markdown | set tw=0 cc=0]]
})
end