Skip to content

Commit 0cd0bb5

Browse files
authored
Merge pull request #19 from ompugao/bugfix/not-create-a-swap-file
Not to create a swapfile when creating a buffer for a directory
2 parents 1c8f06d + 6cd27f2 commit 0cd0bb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/molder.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function! molder#init() abort
4343
endif
4444

4545
let b:molder_dir = l:dir
46-
noautocmd silent file `=b:molder_dir`
46+
noautocmd noswapfile silent file `=b:molder_dir`
4747
setlocal modifiable
4848
setlocal filetype=molder buftype=nofile bufhidden=unload nobuflisted noswapfile
4949
setlocal nowrap cursorline

0 commit comments

Comments
 (0)