diff options
| author | Nanderty <psopka@sopka.ch> | 2024-03-19 23:34:44 +0100 |
|---|---|---|
| committer | Nanderty <psopka@sopka.ch> | 2024-03-19 23:34:44 +0100 |
| commit | 28835a6029ca40207c369fa2374fe0ebfb6b9b42 (patch) | |
| tree | 47e388ceb23861bc12abcafc0e1d95f6dc89a807 /lua/plugins/treesitter.lua | |
| parent | 14dce3d5b57208de848c0b6e9053ac53b13e7c47 (diff) | |
| download | neovim-config-28835a6029ca40207c369fa2374fe0ebfb6b9b42.tar.gz neovim-config-28835a6029ca40207c369fa2374fe0ebfb6b9b42.tar.bz2 neovim-config-28835a6029ca40207c369fa2374fe0ebfb6b9b42.zip | |
config cleanup
Diffstat (limited to 'lua/plugins/treesitter.lua')
| -rw-r--r-- | lua/plugins/treesitter.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 845ba05..b24df01 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -1,6 +1,7 @@ return { { 'nvim-treesitter/nvim-treesitter', + main = 'nvim-treesitter.configs', build = ':TSUpdate', event = { 'BufReadPost', @@ -11,7 +12,7 @@ return { ignore_install = { 'latex' }, highlight = { enable = true, - additional_vim_regex_highlighting = { 'latex' }, + additional_vim_regex_highlighting = { 'tex' }, }, indent = { enable = true, disable = { 'python' } }, ensure_installed = { @@ -25,9 +26,6 @@ return { 'css', }, }, - config = function(_, opts) - require('nvim-treesitter.configs').setup(opts) - end, }, { 'luckasRanarison/tree-sitter-hyprlang', |
