diff options
author | Toby Vincent <tobyv13@gmail.com> | 2022-03-19 14:27:18 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2022-03-19 14:27:18 -0500 |
commit | 209c15c008251cd96f0d4ae6a4c797a1ccb1e9bd (patch) | |
tree | e4bc0a7e2a0aea5c1901423910d88ebc72e35d82 /nvim/lua/plugins/treesitter.lua | |
parent | 95d6897c7ae05074a4c034d180c834c8534a2582 (diff) |
feat: nvim working mostly
Diffstat (limited to 'nvim/lua/plugins/treesitter.lua')
-rw-r--r-- | nvim/lua/plugins/treesitter.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nvim/lua/plugins/treesitter.lua b/nvim/lua/plugins/treesitter.lua index 826693a..95c1aea 100644 --- a/nvim/lua/plugins/treesitter.lua +++ b/nvim/lua/plugins/treesitter.lua @@ -1,4 +1,9 @@ -require("nvim-treesitter.configs").setup { +local status_ok, treesitter = pcall(require, "nvim-treesitter.configs") +if not status_ok then + return +end + +treesitter.setup { indent = { enable = true }, |