Disable tree-sitter indent on c++ files

This commit is contained in:
Kenneth Benzie 2024-03-19 11:43:36 +00:00
parent 831ac41440
commit cfb2fed3e7

View File

@ -1,2 +1,5 @@
vim.opt.commentstring = '//%s' vim.opt.commentstring = '//%s'
vim.opt.matchpairs:append('<:>') vim.opt.matchpairs:append('<:>')
-- nvim_treesitter#indent() is buggy so disable it
vim.opt.indentexpr = ''