Remove bloat & distractions
This commit is contained in:
		@@ -1,7 +0,0 @@
 | 
			
		||||
vim.opt.termguicolors = true
 | 
			
		||||
require("bufferline").setup({
 | 
			
		||||
    options = {
 | 
			
		||||
        style_preset = "minimal",
 | 
			
		||||
        diagnostics = "nvim_lsp"
 | 
			
		||||
    }
 | 
			
		||||
})
 | 
			
		||||
@@ -1,75 +0,0 @@
 | 
			
		||||
vim.keymap.set("n", "<leader>.", vim.cmd.NeoTreeRevealToggle)
 | 
			
		||||
 | 
			
		||||
require("neo-tree").setup({
 | 
			
		||||
    default_component_configs = {
 | 
			
		||||
        icon = {
 | 
			
		||||
            folder_empty = "",
 | 
			
		||||
            folder_empty_open = "",
 | 
			
		||||
        },
 | 
			
		||||
        git_status = {
 | 
			
		||||
            symbols = {
 | 
			
		||||
                renamed   = "",
 | 
			
		||||
                unstaged  = "",
 | 
			
		||||
            },
 | 
			
		||||
        },
 | 
			
		||||
    },
 | 
			
		||||
    document_symbols = {
 | 
			
		||||
        kinds = {
 | 
			
		||||
            File = { icon = "", hl = "Tag" },
 | 
			
		||||
            Namespace = { icon = "", hl = "Include" },
 | 
			
		||||
            Package = { icon = "", hl = "Label" },
 | 
			
		||||
            Class = { icon = "", hl = "Include" },
 | 
			
		||||
            Property = { icon = "", hl = "@property" },
 | 
			
		||||
            Enum = { icon = "", hl = "@number" },
 | 
			
		||||
            Function = { icon = "", hl = "Function" },
 | 
			
		||||
            String = { icon = "", hl = "String" },
 | 
			
		||||
            Number = { icon = "", hl = "Number" },
 | 
			
		||||
            Array = { icon = "", hl = "Type" },
 | 
			
		||||
            Object = { icon = "", hl = "Type" },
 | 
			
		||||
            Key = { icon = "", hl = "" },
 | 
			
		||||
            Struct = { icon = "", hl = "Type" },
 | 
			
		||||
            Operator = { icon = "", hl = "Operator" },
 | 
			
		||||
            TypeParameter = { icon = "", hl = "Type" },
 | 
			
		||||
            StaticMethod = { icon = ' ', hl = 'Function' },
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    -- Add this section only if you've configured source selector.
 | 
			
		||||
    source_selector = {
 | 
			
		||||
        sources = {
 | 
			
		||||
            { source = "filesystem", display_name = "  Files " },
 | 
			
		||||
            { source = "git_status", display_name = "  Git " },
 | 
			
		||||
        },
 | 
			
		||||
    },
 | 
			
		||||
    -- Other options ...
 | 
			
		||||
    close_if_last_window = false,
 | 
			
		||||
    enable_git_status = true,
 | 
			
		||||
    name = {
 | 
			
		||||
        trailing_slash = true,
 | 
			
		||||
        use_git_status_colors = true
 | 
			
		||||
    },
 | 
			
		||||
    window = {
 | 
			
		||||
        position = "left",
 | 
			
		||||
        width = 40,
 | 
			
		||||
        mapping_options = {
 | 
			
		||||
            noremap = true,
 | 
			
		||||
            nowait = true,
 | 
			
		||||
        },
 | 
			
		||||
    },
 | 
			
		||||
    git_status = {
 | 
			
		||||
        symbols = {
 | 
			
		||||
            -- Change type
 | 
			
		||||
            added     = "", -- or "✚", but this is redundant info if you use git_status_colors on the name
 | 
			
		||||
            modified  = "", -- or "", but this is redundant info if you use git_status_colors on the name
 | 
			
		||||
            deleted   = "✖",-- this can only be used in the git_status source
 | 
			
		||||
            renamed   = "",-- this can only be used in the git_status source
 | 
			
		||||
            -- Status type
 | 
			
		||||
            untracked = "",
 | 
			
		||||
            ignored   = "",
 | 
			
		||||
            unstaged  = "",
 | 
			
		||||
            staged    = "",
 | 
			
		||||
            conflict  = "",
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
@@ -46,25 +46,8 @@ return require('packer').startup(function(use)
 | 
			
		||||
        end,
 | 
			
		||||
    })
 | 
			
		||||
 | 
			
		||||
    use {
 | 
			
		||||
        'akinsho/bufferline.nvim',
 | 
			
		||||
        tag = "*",
 | 
			
		||||
        requires = 'nvim-tree/nvim-web-devicons'
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    use {
 | 
			
		||||
        "nvim-neo-tree/neo-tree.nvim",
 | 
			
		||||
        branch = "v2.x",
 | 
			
		||||
        requires = {
 | 
			
		||||
            "nvim-lua/plenary.nvim",
 | 
			
		||||
            "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
 | 
			
		||||
            "MunifTanjim/nui.nvim",
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    -- lsp
 | 
			
		||||
    use {
 | 
			
		||||
    use ({
 | 
			
		||||
        'VonHeikemen/lsp-zero.nvim',
 | 
			
		||||
        branch = 'v2.x',
 | 
			
		||||
        requires = {
 | 
			
		||||
@@ -82,6 +65,6 @@ return require('packer').startup(function(use)
 | 
			
		||||
        {'hrsh7th/nvim-cmp'},     -- Required
 | 
			
		||||
        {'hrsh7th/cmp-nvim-lsp'}, -- Required
 | 
			
		||||
        {'L3MON4D3/LuaSnip'},     -- Required
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
end )
 | 
			
		||||
        }
 | 
			
		||||
    })
 | 
			
		||||
end)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user