mirror of
https://github.com/Tilo-K/neovim-config.git
synced 2026-07-03 13:43:02 +00:00
Added tree
This commit is contained in:
12
init.lua
12
init.lua
@@ -109,7 +109,7 @@ require('lazy').setup({
|
||||
opts = {
|
||||
options = {
|
||||
icons_enabled = false,
|
||||
theme = 'catppuccin',
|
||||
theme = 'carbonfox',
|
||||
component_separators = '|',
|
||||
section_separators = '',
|
||||
},
|
||||
@@ -601,3 +601,13 @@ vim.opt.shiftwidth = 4 -- Indents will have a width of 4
|
||||
vim.opt.softtabstop = 4 -- Sets the number of columns for a TAB
|
||||
|
||||
vim.opt.expandtab = true -- Expand TABs to spaces
|
||||
|
||||
-- disable netrw at the very start of your init.lua
|
||||
vim.g.loaded_netrw = 1
|
||||
vim.g.loaded_netrwPlugin = 1
|
||||
|
||||
-- set termguicolors to enable highlight groups
|
||||
vim.opt.termguicolors = true
|
||||
|
||||
-- empty setup using defaults
|
||||
require("nvim-tree").setup()
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
return {
|
||||
"kyazdani42/nvim-web-devicons",
|
||||
module = "nvim-web-devicons",
|
||||
config = function()
|
||||
require("nvim-web-devicons").setup()
|
||||
end,
|
||||
}
|
||||
10
lua/custom/plugins/nvim-tree.lua
Normal file
10
lua/custom/plugins/nvim-tree.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
return {
|
||||
"nvim-tree/nvim-tree.lua",
|
||||
version = "*",
|
||||
dependencies = {
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
},
|
||||
config = function()
|
||||
require("nvim-tree").setup {}
|
||||
end,
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
return {
|
||||
"folke/trouble.nvim",
|
||||
requires = "kyazdani42/nvim-web-devicons",
|
||||
requires = "nvim-tree/nvim-web-devicons",
|
||||
config = function()
|
||||
require("trouble").setup {
|
||||
-- your configuration comes here
|
||||
|
||||
Reference in New Issue
Block a user