We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b3b69f2 + c1efc0b commit 64a7a23Copy full SHA for 64a7a23
core/plugins.vim
@@ -371,9 +371,16 @@ if exists('g:started_by_firenvim') && g:started_by_firenvim
371
\ }
372
373
374
+ function! s:setup_firenvim() abort
375
+ set noruler noshowcmd
376
+ set laststatus=0 showtabline=0
377
+ endfunction
378
+
379
augroup firenvim
380
autocmd!
- 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
384
augroup END
385
endif
386
0 commit comments