From 227899a5a0edf9e449d0697eb5e387dd5ea942ed Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Fri, 3 Sep 2021 15:57:44 -0600 Subject: initial work on getting lua setup working --- lua/treesitterconf.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 lua/treesitterconf.lua (limited to 'lua/treesitterconf.lua') diff --git a/lua/treesitterconf.lua b/lua/treesitterconf.lua new file mode 100644 index 0000000..ae491bb --- /dev/null +++ b/lua/treesitterconf.lua @@ -0,0 +1,18 @@ +local present, ts_config = pcall(require, "nvim-treesitter.configs") +if not present then + return +end + +ts_config.setup { + ensure_installed = { + "python", + "lua", + "nix", + }, + highlight = { + enable = true, + }, + indent = { + enable = true, + } +} -- cgit v1.2.3