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",
|
||||
|
|
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