added github open link, treesitter all option, nesting rules in neo-tree

This commit is contained in:
RingOfStorms (Joshua Bell) 2023-03-28 16:27:20 -05:00
parent 5f28891d40
commit f0a205be54
4 changed files with 22 additions and 12 deletions

View file

@ -3,14 +3,20 @@ return {
opts = {
filesystem = {
follow_current_file = true,
group_empty_dirs = true,
filtered_items = {
visible = true,
hide_dotfiles = false,
hide_gitignored = false,
hide_by_name = {
".DS_Store",
}
}
}
}
},
},
},
nesting_rules = {
["ts"] = { ".cjs", ".cjs.map", ".d.ts", ".d.ts.map", ".js", ".js.map", ".mjs", ".mjs.map", ".test.ts" },
["tsx"] = { ".d.ts", ".d.ts.map", ".js;", ".js.map;", ".jsx;", ".jsx.map;", ".module.scss;", ".svg" },
["scss"] = { ".css", ".css.map" },
},
},
}

View file

@ -1,8 +1,4 @@
return {
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = { "lua", "rust", "typescript", "css", "scss", "javascript", "java", "html", "python", "vim",
"regex", "json", "bash", "dockerfile", "dot", "gitignore", "graphql", "jq", "jsdoc", "markdown",
"markdown_inline", "sql" },
},
opts = { "all" },
}

View file

@ -16,6 +16,10 @@ return {
require("auto-save").setup {
-- config
}
end
}
end,
},
{
"Almo7aya/openingh.nvim",
event = "BufEnter",
},
}