new: Added treesitter plugin
This commit is contained in:
parent
cd7b3d5acc
commit
79b3a5bff4
6 changed files with 32 additions and 2 deletions
8
laptop/plugin/treesitter.lua
Normal file
8
laptop/plugin/treesitter.lua
Normal 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 },
|
||||
})
|
|
@ -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
|
||||
|
|
8
server/plugin/treesitter.lua
Normal file
8
server/plugin/treesitter.lua
Normal 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 },
|
||||
})
|
|
@ -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",
|
||||
{
|
||||
|
|
8
vps/plugin/treesitter.lua
Normal file
8
vps/plugin/treesitter.lua
Normal 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 },
|
||||
})
|
|
@ -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",
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue