kickstart.nvim icon indicating copy to clipboard operation
kickstart.nvim copied to clipboard

fix(treesitter): install viml parser

Open clason opened this issue 3 years ago • 2 comments

closes #48

clason avatar Dec 30 '22 10:12 clason

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'},

mlabrkic avatar Dec 30 '22 12:12 mlabrkic

That's exactly what this PR does?

clason avatar Dec 30 '22 12:12 clason

woops, just merged the other one -- didn't see this one. sorry clason!

tjdevries avatar Jan 02 '23 02:01 tjdevries