diff --git a/.config/nvim/lua/my/net.lua b/.config/nvim/lua/my/net.lua index d50ef82..e852266 100644 --- a/.config/nvim/lua/my/net.lua +++ b/.config/nvim/lua/my/net.lua @@ -10,7 +10,16 @@ packer.use { 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' } } } @@ -25,7 +34,10 @@ packer.use { { 'BufWinEnter' }, { group = 'firenvim', - pattern = { '*/firenvim/*.txt' }, + pattern = { + '*/firenvim/*.txt', + '*/firenvim/*.md', + }, callback = function() vim.o.textwidth = 0 -- FIXME: my_set_colorcolumn() should set that automatically @@ -45,7 +57,8 @@ packer.use { 'github.com_*', 'very.tastytea.de_*', 'bookwyrm.social_*', - 'openlibrary.org_*' + 'openlibrary.org_*', + 'bugs.gentoo.org_*', }, command = [[set filetype=markdown | set tw=0]] }