Skip to content

Commit 64a7a23

Browse files
authored
Merge pull request #64 from jdhao/fix-firenvim
update firenvim conf
2 parents b3b69f2 + c1efc0b commit 64a7a23

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

core/plugins.vim

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,9 +371,16 @@ if exists('g:started_by_firenvim') && g:started_by_firenvim
371371
\ }
372372
\ }
373373

374+
function! s:setup_firenvim() abort
375+
set noruler noshowcmd
376+
set laststatus=0 showtabline=0
377+
endfunction
378+
374379
augroup firenvim
375380
autocmd!
376-
autocmd BufEnter *.txt setlocal filetype=markdown laststatus=0 nonumber noshowcmd noruler showtabline=1
381+
autocmd FileType text call s:setup_firenvim()
382+
autocmd BufNewFile github.com_*.txt set filetype=markdown
383+
autocmd BufNewFile stackoverflow.com_*.txt set filetype=markdown
377384
augroup END
378385
endif
379386

0 commit comments

Comments
 (0)