summaryrefslogtreecommitdiffstats
path: root/lua/core/overrides/treesitter.lua
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2022-12-30 12:44:28 -0500
committerSquibid <me@zacharyscheiman.com>2022-12-30 12:44:28 -0500
commit4ec198e9de4c29378a9307f739770e71282d5d45 (patch)
tree332bed8d9fa2c91e8469faf74ac50ccfaa631c4b /lua/core/overrides/treesitter.lua
parenteaa58ff6184e6b0bb3abf03d2314864795a13fbd (diff)
downloadnvim-4ec198e9de4c29378a9307f739770e71282d5d45.tar.gz
nvim-4ec198e9de4c29378a9307f739770e71282d5d45.tar.bz2
nvim-4ec198e9de4c29378a9307f739770e71282d5d45.zip
fix config not working in other dirs. whoops
Diffstat (limited to 'lua/core/overrides/treesitter.lua')
-rw-r--r--lua/core/overrides/treesitter.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/lua/core/overrides/treesitter.lua b/lua/core/overrides/treesitter.lua
new file mode 100644
index 0000000..a4d2dfe
--- /dev/null
+++ b/lua/core/overrides/treesitter.lua
@@ -0,0 +1,14 @@
+require('nvim-treesitter.configs').setup {
+ ensure_installed = { 'help',
+ 'c',
+ 'lua',
+ 'norg',
+ 'bash',
+ 'html',
+ 'make',
+ },
+ highlight = {
+ enable = true,
+ additional_vim_regex_highlighting = false,
+ },
+}