Skip to content

Commit

Permalink
minor improvements for nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
skywind3000 committed Aug 16, 2023
1 parent 7b0cbdc commit 761f854
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autoload/quickui/core.vim
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,9 @@ function! quickui#core#buffer_alloc()
call setbufvar(bid, 'noswapfile', 1)
else
let bid = nvim_create_buf(v:false, v:true)
call setbufvar(bid, '&buftype', 'nofile')
call setbufvar(bid, '&bufhidden', 'hide')
call setbufvar(bid, 'noswapfile', 1)
endif
endif
call setbufvar(bid, '&modifiable', 1)
Expand Down

0 comments on commit 761f854

Please sign in to comment.