Files
dotfiles/.config/nvim/plugins/firenvim.vim
T
2022-02-04 08:28:07 -05:00

25 lines
622 B
VimL

Plug 'glacambre/firenvim', { 'do': { _ -> firenvim#install(0) } }
let g:firenvim_config = {
\ 'globalSettings': {
\ 'alt': 'all',
\ },
\ 'localSettings': {
\ '.*': {
\ 'cmdline': 'neovim',
\ 'content': 'text',
\ 'priority': 0,
\ 'selector': 'textarea',
\ 'takeover': 'never',
\ },
\ }
\ }
let fc = g:firenvim_config['localSettings']
let fc['https?://github\.com'] = { 'takeover': 'always', 'priority': 1 }
augroup FirenvimOverrides
autocmd!
autocmd BufEnter github.com_*.txt set filetype=markdown
augroup END