Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9730a073fd | ||
|
|
8f7cbccfb5 |
@@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## [1.2.1](https://github.com/folke/persistence.nvim/compare/v1.2.0...v1.2.1) (2023-10-13)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* dont save the session when only `gitcommit` buffers are present. Fixes [#14](https://github.com/folke/persistence.nvim/issues/14) ([8f7cbcc](https://github.com/folke/persistence.nvim/commit/8f7cbccfb506fe6cb35db9ad966137c363b049c5))
|
||||
|
||||
## [1.2.0](https://github.com/folke/persistence.nvim/compare/v1.1.0...v1.2.0) (2023-10-13)
|
||||
|
||||
|
||||
|
||||
@@ -39,6 +39,9 @@ function M.start()
|
||||
if vim.bo[b].buftype ~= "" then
|
||||
return false
|
||||
end
|
||||
if vim.bo[b].filetype == "gitcommit" then
|
||||
return false
|
||||
end
|
||||
return vim.api.nvim_buf_get_name(b) ~= ""
|
||||
end, vim.api.nvim_list_bufs())
|
||||
if #bufs == 0 then
|
||||
|
||||
Reference in New Issue
Block a user