aboutsummaryrefslogtreecommitdiffstats
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 7255d55..f7baee1 100644
--- a/init.lua
+++ b/init.lua
@@ -1,2 +1,8 @@
+-- TODO: remove once 0.9 is more widly available
+if vim.fn.has "nvim-0.9.0" ~= 1 then
+ vim.treesitter.query.get = vim.treesitter.get_query
+ vim.treesitter.query.set = vim.treesitter.set_query
+end
+
require "config"
require "alpha.globals"