new: Added treesitter plugin

This commit is contained in:
Sayantan Santra 2024-03-26 01:33:00 -05:00
parent cd7b3d5acc
commit 79b3a5bff4
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F
6 changed files with 32 additions and 2 deletions

View file

@ -0,0 +1,8 @@
local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = { "rust", "lua", "vim", "vimdoc", "latex", "ocaml", "yaml", "dockerfile", "make" },
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
})

View file

@ -25,6 +25,8 @@ require("lazy").setup({
"sitiom/nvim-numbertoggle",
-- Plugin for lean
"julian/lean.nvim",
-- Treesitter
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
-- LSP related plugins
"neovim/nvim-lspconfig",
"nvim-lua/plenary.nvim",
@ -41,9 +43,9 @@ require("lazy").setup({
},
"SirVer/ultisnips", -- For snippets
-- Support programming terms
{ "psliwka/vim-dirtytalk", build = ":DirtytalkUpdate" },
{ "psliwka/vim-dirtytalk", build = ":DirtytalkUpdate" },
-- vim-moonfly theme
{ "bluz71/vim-moonfly-colors", as = "moonfly" },
{ "bluz71/vim-moonfly-colors", as = "moonfly" },
-- Rust tools
"simrat39/rust-tools.nvim",
-- Automatically add bracket pairs

View file

@ -0,0 +1,8 @@
local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = { "lua", "vim", "vimdoc", "yaml", "dockerfile" },
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
})

View file

@ -23,6 +23,8 @@ require("lazy").setup({
"lambdalisue/suda.vim",
-- Auto toggle for number mode when vim isn't focused
"sitiom/nvim-numbertoggle",
-- Treesitter
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
-- LSP related plugins
"neovim/nvim-lspconfig",
{

View file

@ -0,0 +1,8 @@
local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = { "lua", "vim", "vimdoc", "yaml", "dockerfile" },
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
})

View file

@ -23,6 +23,8 @@ require("lazy").setup({
"lambdalisue/suda.vim",
-- Auto toggle for number mode when vim isn't focused
"sitiom/nvim-numbertoggle",
-- Treesitter
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
-- LSP related plugins
"neovim/nvim-lspconfig",
{