added github open link, treesitter all option, nesting rules in neo-tree
This commit is contained in:
parent
5f28891d40
commit
f0a205be54
4 changed files with 22 additions and 12 deletions
|
@ -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" },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -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" },
|
||||
}
|
||||
|
|
|
@ -16,6 +16,10 @@ return {
|
|||
require("auto-save").setup {
|
||||
-- config
|
||||
}
|
||||
end
|
||||
}
|
||||
end,
|
||||
},
|
||||
{
|
||||
"Almo7aya/openingh.nvim",
|
||||
event = "BufEnter",
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue