diff --git a/lua/community.lua b/lua/community.lua index c842899..f4ad376 100644 --- a/lua/community.lua +++ b/lua/community.lua @@ -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' }, } diff --git a/lua/plugins/mason.lua b/lua/plugins/mason.lua index 397a603..04abff2 100644 --- a/lua/plugins/mason.lua +++ b/lua/plugins/mason.lua @@ -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', }, diff --git a/lua/plugins/neo-tree.lua b/lua/plugins/neo-tree.lua new file mode 100644 index 0000000..f7452bc --- /dev/null +++ b/lua/plugins/neo-tree.lua @@ -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, +} diff --git a/lua/plugins/nvim-dap.lua b/lua/plugins/nvim-dap.lua deleted file mode 100644 index 3215a5b..0000000 --- a/lua/plugins/nvim-dap.lua +++ /dev/null @@ -1,11 +0,0 @@ -return { - 'mfussenegger/nvim-dap', - dependencies = { - 'leoluz/nvim-dap-go', - }, - config = function() - local dapgo = require 'dap-go' - - dapgo.setup {} - end, -} diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index ba00e99..47bac23 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -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', }, }, } diff --git a/lua/plugins/user.lua b/lua/plugins/user.lua index 19ce8c0..40613d6 100644 --- a/lua/plugins/user.lua +++ b/lua/plugins/user.lua @@ -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"