diff options
Diffstat (limited to 'nvim/.config')
| -rw-r--r-- | nvim/.config/nvim/lazy-lock.json | 2 | ||||
| -rw-r--r-- | nvim/.config/nvim/lua/plugins/treesitter.lua | 62 |
2 files changed, 30 insertions, 34 deletions
diff --git a/nvim/.config/nvim/lazy-lock.json b/nvim/.config/nvim/lazy-lock.json index 48dfe4f..c64e4e9 100644 --- a/nvim/.config/nvim/lazy-lock.json +++ b/nvim/.config/nvim/lazy-lock.json @@ -6,7 +6,7 @@ "cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" }, "cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" }, "friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" }, - "lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" }, + "lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" }, "lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "6c4830e37743b060d13c9269394176aea6a0fbc8" }, "mason.nvim": { "branch": "main", "commit": "44d1e90e1f66e077268191e3ee9d2ac97cc18e65" }, diff --git a/nvim/.config/nvim/lua/plugins/treesitter.lua b/nvim/.config/nvim/lua/plugins/treesitter.lua index e430504..cc4d1fd 100644 --- a/nvim/.config/nvim/lua/plugins/treesitter.lua +++ b/nvim/.config/nvim/lua/plugins/treesitter.lua @@ -1,35 +1,31 @@ return { - 'nvim-treesitter/nvim-treesitter', - branch = 'master', -- Important: Use the 'main' branch - build = ':TSUpdate', - config = function() - - -- Configure nvim-treesitter with ensure_installed - require("nvim-treesitter.configs").setup({ - ensure_installed = { - 'lua', - 'vim', - 'python', - 'javascript', - 'typescript', - 'go', - 'yaml', - 'bash', - 'html', - 'css', - 'markdown', - 'markdown_inline', - 'sql', - }, - highlight = { - enable = true, - }, - indent = { - enable = true, - }, -}) - - - - end, + 'nvim-treesitter/nvim-treesitter', + branch = 'master', -- Important: Use the 'main' branch + build = ':TSUpdate', + config = function() + -- Configure nvim-treesitter with ensure_installed + require("nvim-treesitter.configs").setup({ + ensure_installed = { + 'lua', + 'vim', + 'python', + 'javascript', + 'typescript', + 'go', + 'yaml', + 'bash', + 'html', + 'css', + 'markdown', + 'markdown_inline', + 'sql', + }, + highlight = { + enable = true, + }, + indent = { + enable = true, + }, + }) + end, } |
