Update treesitter on update, add gitignore file

This commit is contained in:
Evie Litherland-Smith 2023-05-16 09:35:57 +01:00
parent 6d5b0e8315
commit 2d695e5276
2 changed files with 6 additions and 0 deletions

4
lua/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
.netrwhist
*.swp
.DS_Store
.luarc.json

View file

@ -1,5 +1,7 @@
return { return {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
version = false,
build = ":TSUpdate",
event = { "BufReadPre", "BufNewFile" }, event = { "BufReadPre", "BufNewFile" },
dependencies = { "nvim-treesitter/nvim-treesitter-refactor" }, dependencies = { "nvim-treesitter/nvim-treesitter-refactor" },
config = function(_, opts) config = function(_, opts)