vim-suda
vim-suda copied to clipboard
vimdiff does not work with suda.vim
nvim -u minimal_init.vim -d <ใใกใคใซ1> <ใใกใคใซ2> ใฎใใใซ้ใใใจใใซใๆๅใฎใใกใคใซใ้ใใใฆใใพใใๆจชไธฆใณใง่กจ็คบใใงใใชใใฎใงใใใ่กจ็คบใใๆนๆณใฏใใใพใใงใใใใใ
neovim ใใผใธใงใณ
$ nvim --version
NVIM v0.5.0-nightly-87-g2bbbb34ce
Build type: Release
LuaJIT 2.1.0-beta3
minimal_init.vim
let g:suda_smart_edit = 1
set runtimepath=$VIMRUNTIME
set packpath=./
ใงใ pack/minimal/start/ ้
ไธใซ clone ใใฆใใพใใ
ใใใใใ้กใใใใใพใใ
nvim -d A B ใฏใตใใผใใงใใฆใใชใใใใงใใ
ใจใใใใ่กจ็คบใใใๅ ดๅใฏใใใใใซ Vim ใซๅ
ฅใฃใฆใใใตใคใใใคใตใคใใง้ใใใใใใใง diffthis ใๅฎ่กใใ็ญใงๅฏพๅฆใใฆใใ ใใใ
Hello,
thanks to Google Translator I could read the Japanese messages to find out you have the same problem like me. Also it seems to be the same problem like in issue 23.
I have no fix for suda, but found the following solution to work. This way, suda_smart_edit will be disabled when nvim is opened using the -d argument:
if ! &diff
let g:suda_smart_edit = 1
endif
I hope it helps.