title: Treesitter config not working with neovim api. Throws error "attempt to call field 'nvim_create_augroup' (a nil value)"?
body: <p>I get an error message from treesitter config every time opening a file in neovim and the syntax highlighting does not work.</p>
  <p>After going through the neovim API doc i tried the following test command:</p>
  <pre><code>:lua vim.api.nvim_create_augroup(&quot;MyGroup&quot;, {clear = false})
  </code></pre>
  <p>Throws the error:</p>
  <pre><code>E5108: Error executing lua [string &quot;:lua&quot;]:1: attempt to call field 'nvim_create_augroup' (a nil value)
  stack traceback:
          [string &quot;:lua&quot;]:1: in main chunk
  </code></pre>
  <p>The full error message is</p>
  <pre><code>Error detected while processing /home/strife/.local/share/nvim/plugged/nvim-treesitter/plugin/nvim-treesitter.lua:
  E5113: Error while calling lua chunk: .../plugged/nvim-treesitter/lua/nvim-treesitter/configs.lua:104: attempt to call field 'nvim_create_augroup' (a
  nil value)
  stack traceback:
          .../plugged/nvim-treesitter/lua/nvim-treesitter/configs.lua:104: in function 'enable_mod_conf_autocmd'
          .../plugged/nvim-treesitter/lua/nvim-treesitter/configs.lua:449: in function 'define_modules'
          .../plugged/nvim-treesitter/lua/nvim-treesitter/configs.lua:524: in function 'init'
          ...are/nvim/plugged/nvim-treesitter/lua/nvim-treesitter.lua:17: in function 'setup'
          .../nvim/plugged/nvim-treesitter/plugin/nvim-treesitter.lua:9: in main chunk
  </code></pre>