Browse Source

feat: add dart comment string autocmd

master
Tovi Jaeschke-Rogers 4 months ago
parent
commit
50a0d3d2e9
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      .config/nvim/lua/tovi/core/autocmd.lua

+ 6
- 0
.config/nvim/lua/tovi/core/autocmd.lua View File

@ -9,6 +9,12 @@ local aucmd_dict = {
vim.opt_local.shiftwidth = 2
end,
},
{
pattern = 'dart',
callback = function ()
vim.bo.commentstring = '// %s'
end
},
},
BufWritePre = {


Loading…
Cancel
Save