aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2021-12-20 18:58:13 +0800
committerzeertzjq <zeertzjq@outlook.com>2021-12-20 18:58:13 +0800
commit09c412837fc9690ac8817dfd9c623dc6771c8d25 (patch)
treec55be458ffb1022ac1ca3dfe71fc4114143e386c /src/nvim/api/vim.c
parent67bb01ae27db3cbba9e2e908c4e6612040f650aa (diff)
downloadrneovim-09c412837fc9690ac8817dfd9c623dc6771c8d25.tar.gz
rneovim-09c412837fc9690ac8817dfd9c623dc6771c8d25.tar.bz2
rneovim-09c412837fc9690ac8817dfd9c623dc6771c8d25.zip
refactor: remove some chdir-related unnecessary calls and checks
xmalloc() always retuns a valid pointer. Calling os_chdir() with the same directory as the current one doesn't do anything other than wasting time.
Diffstat (limited to 'src/nvim/api/vim.c')
0 files changed, 0 insertions, 0 deletions