nvim/after/ftplugin/cpp.lua

6 lines
140 B
Lua

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