From 891fad07f520115bb2f44c8e9ed45726a465e3a5 Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Wed, 27 Dec 2023 00:41:12 +0100 Subject: more vim and hammerspoon --- .config/nvim/lua/plugins/treesitter.lua | 14 ++++++++++++++ 1 file changed, 14 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 0000000..04ba7d8 --- /dev/null +++ b/.config/nvim/lua/plugins/treesitter.lua @@ -0,0 +1,14 @@ +return { + { + "nvim-treesitter/nvim-treesitter", + build = ":TSUpdate", + config = function() + local config = require("nvim-treesitter.configs") + config.setup({ + ensure_installed = { "lua", "javascript" }, + highlight = { enable = true }, + indent = { enable = true }, + }) + end, + }, +} -- cgit v1.2.3