fix(treesitter): install viml parser
closes #48
We need to add a vim parser to "ensure_installed".
When there is a vimscript in the lua file then we get a Treesitter error. Example: Treesitter error on vim.cmd() in init.lua file.
-- [[ Configure Treesitter ]]
-- See :help nvim-treesitter
require('nvim-treesitter.configs').setup {
-- Add languages to be installed here that you want installed for treesitter
-- ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'typescript', 'help' },
ensure_installed = {'lua', 'vim', 'help'},
That's exactly what this PR does?
woops, just merged the other one -- didn't see this one. sorry clason!