added discord + formatting + rest api + more

This commit is contained in:
devaine 2025-04-11 19:14:57 -05:00
commit f82cc2bc93
Signed by untrusted user who does not match committer: devaine
GPG key ID: 954B1DCAC6FF84EE
15 changed files with 189 additions and 70 deletions

View file

@ -1,4 +1,5 @@
-- https://github.com/nvim-treesitter/nvim-treesitter?tab=readme-ov-file#language-parsers for language parsers
return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
@ -6,7 +7,29 @@ return {
config = function()
local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = { "lua", "cpp", "java", "javascript", "bash", "python", "typescript", "css", "html", "jsdoc" },
ensure_installed = {
"lua",
"cpp",
"java",
"javascript",
"bash",
"python",
"typescript",
"css",
"html",
"jsdoc",
"http",
"sql",
"ssh_config",
"json",
"tsx",
"xml",
"yaml",
"nginx",
"gitcommit",
"gitignore",
"cmake"
},
sync_install = true,
auto_intsall = true,
highlight = {
@ -18,10 +41,7 @@ return {
enable = true
}
})
end,
keys = {
{ "<leader>mm", "<cmd>NvimTreeToggle<cr>", desc = "Toggle Tree"}
}
end
}