Added ts tools and changed theme to tokyonight
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
local setup = {
|
||||
source_selector = {
|
||||
winbar = true, -- toggle to show selector on winbar
|
||||
statusline = false, -- toggle to show selector on statusline
|
||||
show_scrolled_off_parent_node = false, -- this will replace the tabs with the parent path
|
||||
-- of the top visible node when scrolled down.
|
||||
winbar = true,
|
||||
statusline = false,
|
||||
show_scrolled_off_parent_node = false,
|
||||
|
||||
sources = {
|
||||
{ source = "filesystem" },
|
||||
{ source = "buffers" },
|
||||
@@ -17,14 +17,14 @@ return {
|
||||
branch = "v3.x",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
config = function()
|
||||
require("neo-tree").setup(setup)
|
||||
-- Define key mappings here to ensure they are set after the plugin is loaded
|
||||
|
||||
vim.api.nvim_set_keymap("n", "<leader>n", "<Cmd>Neotree toggle<CR>", { noremap = true, silent = true })
|
||||
end,
|
||||
keys = "<leader>n", -- Optionally specify here to load the plugin on this keypress
|
||||
keys = "<leader>n",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user