diff options
| author | Nanderty <psopka@sopka.ch> | 2023-03-21 19:22:45 +0100 |
|---|---|---|
| committer | Nanderty <psopka@sopka.ch> | 2023-03-21 19:22:45 +0100 |
| commit | 425f6135ec366b9c38b00c8936ad728dbf377714 (patch) | |
| tree | be0d634a80ddac7c1deb569a492ca3e8b63a6765 /lua/plugins/treesitter.lua | |
| parent | 0cbfb1248476aa278c1567deeb4021e68703d7e2 (diff) | |
| download | neovim-config-425f6135ec366b9c38b00c8936ad728dbf377714.tar.gz neovim-config-425f6135ec366b9c38b00c8936ad728dbf377714.tar.bz2 neovim-config-425f6135ec366b9c38b00c8936ad728dbf377714.zip | |
lazy all
Diffstat (limited to 'lua/plugins/treesitter.lua')
| -rw-r--r-- | lua/plugins/treesitter.lua | 51 |
1 files changed, 27 insertions, 24 deletions
diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 6f2fa4e..4e488ad 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -1,26 +1,29 @@ return { - { - 'nvim-treesitter/nvim-treesitter', - build = ":TSUpdate", - event = { "BufReadPost", "BufNewFile" }, - opts = { - auto_install = true, - ignore_install = { 'latex' }, - highlight = { enable = true }, - indent = { enable = true, disable = { "python" } }, - ensure_installed = { - 'javascript', - 'python', - 'cpp', - 'c', - 'lua', - 'php', - 'html', - 'css', - }, - }, - config = function(_, opts) - require("nvim-treesitter.configs").setup(opts) - end, - } + { + 'nvim-treesitter/nvim-treesitter', + build = ':TSUpdate', + event = { + 'BufReadPost', + 'BufNewFile' + }, + opts = { + auto_install = true, + ignore_install = { 'latex' }, + highlight = { enable = true }, + indent = { enable = true, disable = { 'python' } }, + ensure_installed = { + 'javascript', + 'python', + 'cpp', + 'c', + 'lua', + 'php', + 'html', + 'css', + }, + }, + config = function(_, opts) + require('nvim-treesitter.configs').setup(opts) + end, + } } |
