diff options
author | Cody Hiar <cody@hiar.ca> | 2021-09-03 15:57:44 -0600 |
---|---|---|
committer | Cody Hiar <cody@hiar.ca> | 2021-09-03 15:57:44 -0600 |
commit | 227899a5a0edf9e449d0697eb5e387dd5ea942ed (patch) | |
tree | 1492ee9913760798e43d1c46acb0e5284076cc85 /lua/treesitterconf.lua | |
parent | 8c4a44a45145a99922224b20c864fd51dd2f0b3c (diff) |
initial work on getting lua setup working
Diffstat (limited to 'lua/treesitterconf.lua')
-rw-r--r-- | lua/treesitterconf.lua | 18 |
1 files changed, 18 insertions, 0 deletions
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, + } +} |