diff options
Diffstat (limited to 'nvim/lua')
| -rw-r--r-- | nvim/lua/plugins/treesitter.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nvim/lua/plugins/treesitter.lua b/nvim/lua/plugins/treesitter.lua index 66cd717..f33a414 100644 --- a/nvim/lua/plugins/treesitter.lua +++ b/nvim/lua/plugins/treesitter.lua | |||
| @@ -11,12 +11,12 @@ return { | |||
| 11 | build = ":TSUpdate", | 11 | build = ":TSUpdate", |
| 12 | event = "BufReadPost", | 12 | event = "BufReadPost", |
| 13 | lazy = true, | 13 | lazy = true, |
| 14 | config = function() | 14 | opts = {}, |
| 15 | config = function(_, opts) | ||
| 15 | local treesitter = require("nvim-treesitter") | 16 | local treesitter = require("nvim-treesitter") |
| 16 | local langs = require("config.treesitter").languages | 17 | local langs = require("config.treesitter").languages |
| 17 | 18 | ||
| 18 | -- treesitter.setup({}) | 19 | treesitter.setup(opts) |
| 19 | |||
| 20 | treesitter.install(langs) | 20 | treesitter.install(langs) |
| 21 | end, | 21 | end, |
| 22 | }, | 22 | }, |
