🪴 my neovim config:)
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(treesitter): start using pcall

robin b10da3f8 88ed4a24

+1 -8
+1 -8
config/lua/ivy/config/ft.lua
··· 27 27 return 28 28 end 29 29 30 - local ok = vim.treesitter.get_parser(ev.buf, nil, { error = false }) 31 - if not ok then 32 - return 33 - end 34 - 35 - vim.api.nvim_buf_call(ev.buf, function() 36 - vim.treesitter.start() 37 - end) 30 + pcall(vim.treesitter.start, ev.buf) 38 31 end, 39 32 })