aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2015-07-25 19:42:04 +0300
committerZyX <kp-pav@yandex.ru>2015-10-08 22:00:14 +0300
commit8dafa533dbd505a6a2cf2e009bf440e2bde342f4 (patch)
tree0103dbcdd5a102a149531ee0be29e47e2861c761 /src/nvim/main.c
parentfa8e3f3f20f2f2dc5d160fb70b747568a7b4f1cf (diff)
downloadrneovim-8dafa533dbd505a6a2cf2e009bf440e2bde342f4.tar.gz
rneovim-8dafa533dbd505a6a2cf2e009bf440e2bde342f4.tar.bz2
rneovim-8dafa533dbd505a6a2cf2e009bf440e2bde342f4.zip
shada: Translate errors and add error codes
Notes: - E136 code greatly changed its meaning: now it is write error and not read error. - E195 was removed because shada_read_everything will already do all the necessary error reporting. - E886 can be reported by both :rshada and :wshada, but :rshada comes first and AFAIR it is the only error which is not E575 and can be reported by :rshada.
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index e8af356654..c4387c0b7f 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -383,7 +383,7 @@ int main(int argc, char **argv)
* This is where v:oldfiles gets filled.
*/
if (*p_shada != NUL) {
- shada_read_everything(NULL, false);
+ shada_read_everything(NULL, false, true);
TIME_MSG("reading ShaDa");
}
/* It's better to make v:oldfiles an empty list than NULL. */