1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

update title str format

This commit is contained in:
jdhao 2022-07-11 23:14:16 +08:00
parent 3678da1b3c
commit 99d5a0343b

View File

@ -135,7 +135,7 @@ function! utils#Get_titlestr() abort
let l:buf_path = expand('%:p:~')
let l:title_str = l:title_str . l:buf_path . ' '
if &buflisted && l:buf_path != ""
let l:title_str = l:title_str . strftime('%Y-%m-%d %H:%M %Z',getftime(expand('%')))
let l:title_str = l:title_str . strftime('%Y-%m-%d %H:%M:%S%z', getftime(expand('%')))
endif
return l:title_str