mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
update firenvim conf
This commit is contained in:
parent
b3b69f21f4
commit
c1efc0bad6
@ -371,9 +371,16 @@ if exists('g:started_by_firenvim') && g:started_by_firenvim
|
||||
\ }
|
||||
\ }
|
||||
|
||||
function! s:setup_firenvim() abort
|
||||
set noruler noshowcmd
|
||||
set laststatus=0 showtabline=0
|
||||
endfunction
|
||||
|
||||
augroup firenvim
|
||||
autocmd!
|
||||
autocmd BufEnter *.txt setlocal filetype=markdown laststatus=0 nonumber noshowcmd noruler showtabline=1
|
||||
autocmd FileType text call s:setup_firenvim()
|
||||
autocmd BufNewFile github.com_*.txt set filetype=markdown
|
||||
autocmd BufNewFile stackoverflow.com_*.txt set filetype=markdown
|
||||
augroup END
|
||||
endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user