lambdalisue / vim-suda

🥪 An alternative sudo.vim for Vim and Neovim, limited support sudo in Windows
MIT License
725 stars 29 forks source link

fix: use full path when setting nomodified #55

Closed sarmong closed 1 year ago

sarmong commented 1 year ago

For me, nomodified was never setting because this if condition was failing due to lhs having file name and rhs having file path

lambdalisue commented 1 year ago

Thanks 👍