diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-07-23 17:04:16 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-07-23 17:04:16 +0300 |
| commit | 9f36c9e319c3f62d2cc5fcc13888bb1c52549dd5 (patch) | |
| tree | fcb9e06a5618d957cda5f1e63cbec0dc0a5ce4d6 /.config/nvim/lua/custom/plugins/undotree.lua | |
| parent | bcd20b2cb1836bc8e5baa34d8b0e1a96f3c2f788 (diff) | |
refactor(neovim): minor changes and splited most plugins to their own file
Diffstat (limited to '.config/nvim/lua/custom/plugins/undotree.lua')
| -rw-r--r-- | .config/nvim/lua/custom/plugins/undotree.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/nvim/lua/custom/plugins/undotree.lua b/.config/nvim/lua/custom/plugins/undotree.lua new file mode 100644 index 0000000..cbbeffb --- /dev/null +++ b/.config/nvim/lua/custom/plugins/undotree.lua @@ -0,0 +1,14 @@ +return { + 'mbbill/undotree', + keys = { { '<leader>ut', vim.cmd.UndotreeToggle } }, + config = function() + vim.g.undotree_DiffAutoOpen = false + vim.g.undotree_DiffpanelHeight = 0 + vim.g.undotree_SetFocusWhenToggle = false + vim.g.undotree_HelpLine = false + vim.g.undotree_TreeNodeShape = '' + vim.g.undotree_TreeVertShape = '│' + vim.g.undotree_TreeSplitShape = '─┘' + vim.g.undotree_TreeReturnShape = '─┐' + end, +} |
