updated formatting

This commit is contained in:
2024-11-01 14:22:50 -04:00
parent f171a9b77e
commit e1cc00c19a
5 changed files with 81 additions and 73 deletions
+51 -50
View File
@@ -6,55 +6,56 @@ return {
"windwp/nvim-ts-autotag",
},
config = function()
local treesitter = require("nvim-treesitter.configs")
local treesitter = require "nvim-treesitter.configs"
treesitter.setup({
highlight = {
enable = true,
},
indent = { enable = true },
autotag = { enable = true },
ensure_installed = {
"bash",
"cmake",
"cpp",
"css",
"diff",
"dockerfile",
"git_config",
"git_rebase",
"gitcommit",
"gitignore",
"graphql",
"html",
"javascript",
"json",
"lua",
"markdown",
"markdown_inline",
"nginx",
"perl",
"php",
"python",
"regex",
"sql",
"ssh_config",
"todotxt",
"typescript",
"vim",
"xml",
"yaml",
},
auto_install = true,
incremental_selection = {
enable = true,
keymaps = {
init_selection = "<C-space>",
node_incremental = "<C-space>",
scope_incremental = false,
node_decremental = "<bs>",
},
},
})
end,
treesitter.setup {
highlight = {
enable = true,
},
indent = { enable = true },
autotag = { enable = true },
ensure_installed = {
"bash",
"cmake",
"cpp",
"css",
"diff",
"dockerfile",
"git_config",
"git_rebase",
"gitcommit",
"gitignore",
"graphql",
"html",
"javascript",
"json",
"lua",
"markdown",
"markdown_inline",
"nginx",
"perl",
"php",
"python",
"regex",
"sql",
"ssh_config",
"todotxt",
"typescript",
"vim",
"vimdoc",
"xml",
"yaml",
},
auto_install = true,
incremental_selection = {
enable = true,
keymaps = {
init_selection = "<C-space>",
node_incremental = "<C-space>",
scope_incremental = false,
node_decremental = "<bs>",
},
},
}
end,
}