diff options
| author | A Farzat <a@farzat.xyz> | 2026-02-04 09:04:43 +0300 |
|---|---|---|
| committer | A Farzat <a@farzat.xyz> | 2026-02-04 09:04:43 +0300 |
| commit | e12d85aba3b37735b11a64942fd7128b2d08b90f (patch) | |
| tree | eef5b5c5cd56d7f4135e1a5c4bf9dce84e0cc3ff /.config/nvim/plugin-settings/nvim-treesitter.lua | |
| parent | 139935c64071d9a55a615e5df8a85c292edf886b (diff) | |
| download | dotfiles-e12d85aba3b37735b11a64942fd7128b2d08b90f.tar.gz dotfiles-e12d85aba3b37735b11a64942fd7128b2d08b90f.zip | |
Diffstat (limited to '.config/nvim/plugin-settings/nvim-treesitter.lua')
| -rw-r--r-- | .config/nvim/plugin-settings/nvim-treesitter.lua | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/.config/nvim/plugin-settings/nvim-treesitter.lua b/.config/nvim/plugin-settings/nvim-treesitter.lua index 4afe91e..2fd60d2 100644 --- a/.config/nvim/plugin-settings/nvim-treesitter.lua +++ b/.config/nvim/plugin-settings/nvim-treesitter.lua @@ -1,13 +1 @@ -require("nvim-treesitter.configs").setup({ - -- A list of parser names, or "all" (the four listed parsers should always be installed) - ensure_installed = { "c", "lua", "vim" }, - ignore_install = { "org" }, - - -- Automatically install missing parsers when entering buffer - -- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally - auto_install = true, - - highlight = { - enable = true, - }, -}) +require('nvim-treesitter').install({ 'c', 'lua', 'markdown', 'vim' }):wait(300000) -- wait max. 5 minutes |
