diff options
| author | jdhao <jdhao@hotmail.com> | 2022-08-15 22:57:50 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-15 22:57:50 +0800 |
| commit | 64a7a23309e272bccf0e1009cd90eda72344b611 (patch) | |
| tree | c4b93bf7a9c16b128476187cb1700b748c7b9d2c | |
| parent | b3b69f21f4a8d0895d751d9472f84bf780e00a75 (diff) | |
| parent | c1efc0bad65a0588264b474c1f3a6fa6711492fe (diff) | |
Merge pull request #64 from jdhao/fix-firenvim
update firenvim conf
| -rw-r--r-- | core/plugins.vim | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/core/plugins.vim b/core/plugins.vim index c575903..7749197 100644 --- a/core/plugins.vim +++ b/core/plugins.vim @@ -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 |
