add neotree configs and remove redundant stuff

This commit is contained in:
2025-08-12 09:24:23 +01:00
parent e3bd8537e2
commit 7f529c4270
6 changed files with 35 additions and 43 deletions

View File

@@ -1,12 +1,11 @@
if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
-- AstroCommunity: import any community modules here
-- We import this file in `lazy_setup.lua` before the `plugins/` folder.
-- This guarantees that the specs are processed before any user plugins.
---@type LazySpec
return {
"AstroNvim/astrocommunity",
{ import = "astrocommunity.pack.lua" },
-- import/override with your plugins folder
'AstroNvim/astrocommunity',
{ import = 'astrocommunity.pack.lua' },
{ import = 'astrocommunity.pack.go' },
}

View File

@@ -7,18 +7,6 @@ return {
opts = {
-- Make sure to use the names found in `:Mason`
ensure_installed = {
-- install language servers
'lua-language-server',
'gopls',
-- install formatters
'stylua',
'goimports',
-- install debuggers
-- 'debugpy',
-- "delve",
-- install any other package
'tree-sitter-cli',
},

18
lua/plugins/neo-tree.lua Normal file
View File

@@ -0,0 +1,18 @@
return {
'nvim-neo-tree/neo-tree.nvim',
opts = function(_, opts)
opts.filesystem.filtered_items = {
visible = true,
always_show = { -- remains visible even if other settings would normally hide it
'.gitignore',
},
always_show_by_pattern = {
'.env*',
},
never_show = { -- remains hidden even if visible is toggled to true, this overrides always_show
'.DS_Store',
--"thumbs.db"
},
}
end,
}

View File

@@ -1,11 +0,0 @@
return {
'mfussenegger/nvim-dap',
dependencies = {
'leoluz/nvim-dap-go',
},
config = function()
local dapgo = require 'dap-go'
dapgo.setup {}
end,
}

View File

@@ -2,20 +2,18 @@
---@type LazySpec
return {
"nvim-treesitter/nvim-treesitter",
'nvim-treesitter/nvim-treesitter',
opts = {
ensure_installed = {
"bash",
"diff",
"go",
"html",
"lua",
"luadoc",
"markdown",
"markdown_inline",
"query",
"vim",
"vimdoc",
'bash',
'diff',
'html',
'luadoc',
'markdown',
'markdown_inline',
'query',
'vim',
'vimdoc',
},
},
}

View File

@@ -42,7 +42,7 @@ return {
},
-- You can disable default plugins as follows:
-- { "max397574/better-escape.nvim", enabled = false },
{ 'max397574/better-escape.nvim', enabled = false },
-- You can also easily customize additional setup of plugins that is outside of the plugin's setup call
{