Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update from original repo #1280

Closed
wants to merge 10 commits into from
Prev Previous commit
Next Next commit
Add Neo-Tree and Autopairs plugins
  • Loading branch information
sychugin committed Jul 20, 2024
commit ce7f84540a16f528b4087a50f69e650d7fee5816
4 changes: 2 additions & 2 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -942,8 +942,8 @@ require('lazy').setup({
-- require 'kickstart.plugins.debug',
-- require 'kickstart.plugins.indent_line',
-- require 'kickstart.plugins.lint',
-- require 'kickstart.plugins.autopairs',
-- require 'kickstart.plugins.neo-tree',
require 'kickstart.plugins.autopairs',
require 'kickstart.plugins.neo-tree',
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps

-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
Expand Down
8 changes: 8 additions & 0 deletions lua/kickstart/plugins/neo-tree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,16 @@ return {
{ '\\', ':Neotree reveal<CR>', { desc = 'NeoTree reveal' } },
},
opts = {
close_if_last_window = true, -- Закрывать Neo-tree, если это последнее окно
popup_border_style = 'rounded', -- Закругленные углы у всплывающих окон

enable_git_status = true, -- Показ статусов Git
enable_diagnostics = true, -- Показ диагностик

filesystem = {
window = {
width = 30, -- Ширина окна
position = 'left',
mappings = {
['\\'] = 'close_window',
},
Expand Down