aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-12-19 18:26:45 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-12-19 18:26:45 +1300
commit7124a05b1ed53ccc1bae6f4dc99a1fe78c474512 (patch)
treecb9e30161d6fdcbd1457e27e043d08669394b4f1
parentFirst version, spun out from tejr dotfiles v8.7.0 (diff)
parentBump VERSION (diff)
downloadvim-spellfile-local-0.1.1.tar.gz (sig)
vim-spellfile-local-0.1.1.zip
Merge branch 'hotfix/v0.1.1'v0.1.1
* hotfix/v0.1.1: Fix mixed-up parameters for mkdir()
-rw-r--r--VERSION2
-rw-r--r--autoload/spellfile_local.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index 6e8bf73..17e51c3 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.0
+0.1.1
diff --git a/autoload/spellfile_local.vim b/autoload/spellfile_local.vim
index 7dbe8fb..7d1877e 100644
--- a/autoload/spellfile_local.vim
+++ b/autoload/spellfile_local.vim
@@ -141,7 +141,7 @@ function! s:Path(dir, lang, encoding, ...) abort
"
let ds = join(dir, '/')
if ds !~# '^\f\+$'
- \ || filewritable(ds) != 2 && !mkdir(ds, '0700', 'p')
+ \ || filewritable(ds) != 2 && !mkdir(ds, 'p', 0700)
return
endif