diff --git a/.config/nvim/lua/tovi/core/autocmd.lua b/.config/nvim/lua/tovi/core/autocmd.lua index 7613a79..1f5affb 100644 --- a/.config/nvim/lua/tovi/core/autocmd.lua +++ b/.config/nvim/lua/tovi/core/autocmd.lua @@ -9,6 +9,12 @@ local aucmd_dict = { vim.opt_local.shiftwidth = 2 end, }, + { + pattern = 'dart', + callback = function () + vim.bo.commentstring = '// %s' + end + }, }, BufWritePre = {