From c72b006c67b48761657917c23dfc04dbf38c264e Mon Sep 17 00:00:00 2001 From: FernuDev Date: Sun, 7 Jul 2024 19:02:54 -0600 Subject: feat: add neovim configuration files --- config/nvim/lua/plugins/treesitter.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 config/nvim/lua/plugins/treesitter.lua (limited to 'config/nvim/lua/plugins/treesitter.lua') diff --git a/config/nvim/lua/plugins/treesitter.lua b/config/nvim/lua/plugins/treesitter.lua new file mode 100644 index 00000000..20063418 --- /dev/null +++ b/config/nvim/lua/plugins/treesitter.lua @@ -0,0 +1,12 @@ +return { + "nvim-treesitter/nvim-treesitter", + build = ":TSUpdate", + config = function() + local configs = require("nvim-treesitter.configs") + configs.setup({ + ensure_installed = {"lua", "c", "javascript"}, + highlight = { enable = true }, + indent = { enable = true } + }) + end +} -- cgit v1.2.3