Skip to content

Commit

Permalink
treesitter sync_install
Browse files Browse the repository at this point in the history
  • Loading branch information
siduck committed Dec 24, 2024
1 parent 75b12fc commit 2efa7ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions tiny/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,3 @@ end
vim.opt.rtp:prepend(lazypath)

require("lazy").setup(require "plugins")

require('nvim-treesitter.install').update({ with_sync = true })
3 changes: 2 additions & 1 deletion tiny/lua/configs/treesitter.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
require("nvim-treesitter.configs").setup {
ensure_installed = { "lua", "rust", "c", "go", "elixir", "haskell" , 'python'},
ensure_installed = { "lua", "rust", "c", "go", "elixir", "haskell", "python" },

highlight = {
enable = true,
use_languagetree = true,
},
indent = { enable = true },
sync_install = true,
}

0 comments on commit 2efa7ba

Please sign in to comment.