You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(title): add title configuration for window (#4)
* feat(title): add title configuration for window
The title can now be configured in the `setup` or when toggling the
window.
* fix: toggle_gitpad called without opts
require('gitpad').toggle_gitpad({ filename=filename })-- or require('gitpad').toggle_gitpad({ filename = filename, title = 'Current file notes' })
71
71
end,
72
72
desc='gitpad per file notes',
73
73
},
@@ -84,6 +84,7 @@ gitpad.nvim comes with the following defaults:
84
84
85
85
```lua
86
86
{
87
+
title='gitpad', -- The title of the floating window
87
88
border='single', -- The border style of the floating window. Possible values are `'single'`, `'double'`, `'shadow'`, `'rounded'`, and `''` (no border).
88
89
style='', -- The style of the floating window. Possible values are `'minimal'` (no line numbers, statusline, or sign column. See :help nvim_open_win() '), and `''` (default Neovim style).
89
90
dir=vim.fn.stdpath('data') ..'/gitpad', -- The directory where the notes are stored. Possible value is a valid path ie '~/notes'
0 commit comments