add neotree configs and remove redundant stuff
This commit is contained in:
@@ -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
18
lua/plugins/neo-tree.lua
Normal 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,
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
return {
|
||||
'mfussenegger/nvim-dap',
|
||||
dependencies = {
|
||||
'leoluz/nvim-dap-go',
|
||||
},
|
||||
config = function()
|
||||
local dapgo = require 'dap-go'
|
||||
|
||||
dapgo.setup {}
|
||||
end,
|
||||
}
|
||||
@@ -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',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -42,13 +42,13 @@ 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
|
||||
{
|
||||
'L3MON4D3/LuaSnip',
|
||||
config = function(plugin, opts)
|
||||
require 'astronvim.plugins.configs.luasnip' (plugin, opts) -- include the default astronvim config that calls the setup call
|
||||
require 'astronvim.plugins.configs.luasnip'(plugin, opts) -- include the default astronvim config that calls the setup call
|
||||
-- add more custom luasnip configuration such as filetype extend or custom snippets
|
||||
local luasnip = require 'luasnip'
|
||||
luasnip.filetype_extend('javascript', { 'javascriptreact' })
|
||||
@@ -58,7 +58,7 @@ return {
|
||||
{
|
||||
'windwp/nvim-autopairs',
|
||||
config = function(plugin, opts)
|
||||
require 'astronvim.plugins.configs.nvim-autopairs' (plugin, opts) -- include the default astronvim config that calls the setup call
|
||||
require 'astronvim.plugins.configs.nvim-autopairs'(plugin, opts) -- include the default astronvim config that calls the setup call
|
||||
-- local npairs = require "nvim-autopairs"
|
||||
-- local Rule = require "nvim-autopairs.rule"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user